home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-11-16 | 25.9 KB | [ TEXT/MPS ]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Nov 15 20:32:39 1992, modified Sun Nov 15 20:32:39 1992, creator 'MPS ', type ASCII, 25842 bytes "config.h" , at 0x6572 428 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ MPS ]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 08 63 6f 6e 66 69 67 | 2e 68 00 00 00 00 00 00 |..config|.h......| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......| |00000050| 00 00 00 00 00 64 f2 00 | 00 01 ac a7 2c aa b7 a7 |.....d..|....,...| |00000060| 2c aa b7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |,.......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 50 87 00 00 |........|....P...| |00000080| 23 69 66 6e 64 65 66 20 | 63 6f 6e 66 69 67 5f 68 |#ifndef |config_h| |00000090| 0d 23 64 65 66 69 6e 65 | 20 63 6f 6e 66 69 67 5f |.#define| config_| |000000a0| 68 0d 23 69 66 64 65 66 | 20 6d 61 63 69 6e 74 6f |h.#ifdef| macinto| |000000b0| 73 68 0d 2f 2a 20 63 6f | 6e 66 69 67 2e 68 0d 20 |sh./* co|nfig.h. | |000000c0| 2a 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 74 68 |* On the| Mac, th| |000000d0| 69 73 20 66 69 6c 65 20 | 69 73 20 63 6f 6e 66 69 |is file |is confi| |000000e0| 67 75 72 65 64 20 6d 61 | 6e 75 61 6c 6c 79 2c 20 |gured ma|nually, | |000000f0| 61 73 20 6f 70 70 6f 73 | 65 64 20 74 6f 20 77 68 |as oppos|ed to wh| |00000100| 61 74 20 74 68 65 20 0d | 20 2a 20 63 6f 6d 6d 65 |at the .| * comme| |00000110| 6e 74 20 62 65 6c 6f 77 | 20 73 61 79 73 2e 0d 20 |nt below| says.. | |00000120| 2a 2f 0d 23 65 6c 73 65 | 0d 2f 2a 20 63 6f 6e 66 |*/.#else|./* conf| |00000130| 69 67 2e 68 0d 20 2a 20 | 54 68 69 73 20 66 69 6c |ig.h. * |This fil| |00000140| 65 20 77 61 73 20 70 72 | 6f 64 75 63 65 64 20 62 |e was pr|oduced b| |00000150| 79 20 72 75 6e 6e 69 6e | 67 20 74 68 65 20 63 6f |y runnin|g the co| |00000160| 6e 66 69 67 2e 68 2e 53 | 48 20 73 63 72 69 70 74 |nfig.h.S|H script| |00000170| 2c 20 77 68 69 63 68 0d | 20 2a 20 67 65 74 73 20 |, which.| * gets | |00000180| 69 74 73 20 76 61 6c 75 | 65 73 20 66 72 6f 6d 20 |its valu|es from | |00000190| 63 6f 6e 66 69 67 2e 73 | 68 2c 20 77 68 69 63 68 |config.s|h, which| |000001a0| 20 69 73 20 67 65 6e 65 | 72 61 6c 6c 79 20 70 72 | is gene|rally pr| |000001b0| 6f 64 75 63 65 64 20 62 | 79 0d 20 2a 20 72 75 6e |oduced b|y. * run| |000001c0| 6e 69 6e 67 20 43 6f 6e | 66 69 67 75 72 65 2e 0d |ning Con|figure..| |000001d0| 20 2a 0d 20 2a 20 46 65 | 65 6c 20 66 72 65 65 20 | *. * Fe|el free | |000001e0| 74 6f 20 6d 6f 64 69 66 | 79 20 61 6e 79 20 6f 66 |to modif|y any of| |000001f0| 20 74 68 69 73 20 61 73 | 20 74 68 65 20 6e 65 65 | this as| the nee| |00000200| 64 20 61 72 69 73 65 73 | 2e 20 20 4e 6f 74 65 2c |d arises|. Note,| |00000210| 20 68 6f 77 65 76 65 72 | 2c 0d 20 2a 20 74 68 61 | however|,. * tha| |00000220| 74 20 72 75 6e 6e 69 6e | 67 20 63 6f 6e 66 69 67 |t runnin|g config| |00000230| 2e 68 2e 53 48 20 61 67 | 61 69 6e 20 77 69 6c 6c |.h.SH ag|ain will| |00000240| 20 77 69 70 65 20 6f 75 | 74 20 61 6e 79 20 63 68 | wipe ou|t any ch| |00000250| 61 6e 67 65 73 20 79 6f | 75 27 76 65 20 6d 61 64 |anges yo|u've mad| |00000260| 65 2e 0d 20 2a 20 46 6f | 72 20 61 20 6d 6f 72 65 |e.. * Fo|r a more| |00000270| 20 70 65 72 6d 61 6e 65 | 6e 74 20 63 68 61 6e 67 | permane|nt chang| |00000280| 65 20 65 64 69 74 20 63 | 6f 6e 66 69 67 2e 73 68 |e edit c|onfig.sh| |00000290| 20 61 6e 64 20 72 65 72 | 75 6e 20 63 6f 6e 66 69 | and rer|un confi| |000002a0| 67 2e 68 2e 53 48 2e 0d | 20 2a 0d 20 2a 2f 0d 20 |g.h.SH..| *. */. | |000002b0| 2f 2a 53 55 50 50 52 45 | 53 53 20 34 36 30 2a 2f |/*SUPPRE|SS 460*/| |000002c0| 0d 23 65 6e 64 69 66 0d | 0d 2f 2a 20 45 55 4e 49 |.#endif.|./* EUNI| |000002d0| 43 45 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |CE. *.Th|is symbo| |000002e0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |000002f0| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |00000300| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 62 65 69 |e progra|m is bei| |00000310| 6e 67 20 63 6f 6d 70 69 | 6c 65 64 0d 20 2a 09 75 |ng compi|led. *.u| |00000320| 6e 64 65 72 20 74 68 65 | 20 45 55 4e 49 43 45 20 |nder the| EUNICE | |00000330| 70 61 63 6b 61 67 65 20 | 75 6e 64 65 72 20 56 4d |package |under VM| |00000340| 53 2e 20 20 54 68 65 20 | 70 72 6f 67 72 61 6d 20 |S. The |program | |00000350| 77 69 6c 6c 20 6e 65 65 | 64 20 74 6f 20 68 61 6e |will nee|d to han| |00000360| 64 6c 65 0d 20 2a 09 74 | 68 69 6e 67 73 20 6c 69 |dle. *.t|hings li| |00000370| 6b 65 20 66 69 6c 65 73 | 20 74 68 61 74 20 64 6f |ke files| that do| |00000380| 6e 27 74 20 67 6f 20 61 | 77 61 79 20 74 68 65 20 |n't go a|way the | |00000390| 66 69 72 73 74 20 74 69 | 6d 65 20 79 6f 75 20 75 |first ti|me you u| |000003a0| 6e 6c 69 6e 6b 20 74 68 | 65 6d 2c 0d 20 2a 09 64 |nlink th|em,. *.d| |000003b0| 75 65 20 74 6f 20 76 65 | 72 73 69 6f 6e 20 6e 75 |ue to ve|rsion nu| |000003c0| 6d 62 65 72 69 6e 67 2e | 20 20 49 74 20 77 69 6c |mbering.| It wil| |000003d0| 6c 20 61 6c 73 6f 20 6e | 65 65 64 20 74 6f 20 63 |l also n|eed to c| |000003e0| 6f 6d 70 65 6e 73 61 74 | 65 20 66 6f 72 20 6c 61 |ompensat|e for la| |000003f0| 63 6b 0d 20 2a 09 6f 66 | 20 61 20 72 65 73 70 65 |ck. *.of| a respe| |00000400| 63 74 61 62 6c 65 20 6c | 69 6e 6b 28 29 20 63 6f |ctable l|ink() co| |00000410| 6d 6d 61 6e 64 2e 0d 20 | 2a 2f 0d 2f 2a 20 56 4d |mmand.. |*/./* VM| |00000420| 53 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |S. *.Thi|s symbol| |00000430| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in| |00000440| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the| |00000450| 20 70 72 6f 67 72 61 6d | 20 69 73 20 72 75 6e 6e | program| is runn| |00000460| 69 6e 67 20 75 6e 64 65 | 72 0d 20 2a 09 56 4d 53 |ing unde|r. *.VMS| |00000470| 2e 20 20 49 74 20 69 73 | 20 63 75 72 72 65 6e 74 |. It is| current| |00000480| 6c 79 20 6f 6e 6c 79 20 | 73 65 74 20 69 6e 20 63 |ly only |set in c| |00000490| 6f 6e 6a 75 6e 63 74 69 | 6f 6e 20 77 69 74 68 20 |onjuncti|on with | |000004a0| 74 68 65 20 45 55 4e 49 | 43 45 20 73 79 6d 62 6f |the EUNI|CE symbo| |000004b0| 6c 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 45 55 |l.. */.#|undef.EU| |000004c0| 4e 49 43 45 09 09 2f 2a | 2a 2f 0d 23 75 6e 64 65 |NICE../*|*/.#unde| |000004d0| 66 09 56 4d 53 09 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |f.VMS...|/**/../*| |000004e0| 20 4c 4f 43 5f 53 45 44 | 0d 20 2a 20 20 20 20 20 | LOC_SED|. * | |000004f0| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 68 6f 6c 64 |This sym|bol hold| |00000500| 73 20 74 68 65 20 63 6f | 6d 70 6c 65 74 65 20 70 |s the co|mplete p| |00000510| 61 74 68 6e 61 6d 65 20 | 74 6f 20 74 68 65 20 73 |athname |to the s| |00000520| 65 64 20 70 72 6f 67 72 | 61 6d 2e 0d 20 2a 2f 0d |ed progr|am.. */.| |00000530| 23 64 65 66 69 6e 65 20 | 4c 4f 43 5f 53 45 44 20 |#define |LOC_SED | |00000540| 22 2f 62 69 6e 2f 73 65 | 64 22 20 20 20 20 20 20 |"/bin/se|d" | |00000550| 20 20 20 20 20 20 20 2f | 2a 2a 2f 0d 0d 2f 2a 20 | /|**/../* | |00000560| 41 4c 49 47 4e 42 59 54 | 45 53 0d 20 2a 09 54 68 |ALIGNBYT|ES. *.Th| |00000570| 69 73 20 73 79 6d 62 6f | 6c 20 63 6f 6e 74 61 69 |is symbo|l contai| |00000580| 6e 73 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ns the n|umber of| |00000590| 20 62 79 74 65 73 20 72 | 65 71 75 69 72 65 64 20 | bytes r|equired | |000005a0| 74 6f 20 61 6c 69 67 6e | 20 61 20 64 6f 75 62 6c |to align| a doubl| |000005b0| 65 2e 0d 20 2a 09 55 73 | 75 61 6c 20 76 61 6c 75 |e.. *.Us|ual valu| |000005c0| 65 73 20 61 72 65 20 32 | 2c 20 34 2c 20 61 6e 64 |es are 2|, 4, and| |000005d0| 20 38 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 20 | 8.. */.|#define | |000005e0| 41 4c 49 47 4e 42 59 54 | 45 53 20 34 09 09 2f 2a |ALIGNBYT|ES 4../*| |000005f0| 2a 2f 0d 0d 2f 2a 20 42 | 49 4e 0d 20 2a 09 54 68 |*/../* B|IN. *.Th| |00000600| 69 73 20 73 79 6d 62 6f | 6c 20 68 6f 6c 64 73 20 |is symbo|l holds | |00000610| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the | |00000620| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 20 77 68 69 |director|y in whi| |00000630| 63 68 20 74 68 65 20 75 | 73 65 72 20 77 61 6e 74 |ch the u|ser want| |00000640| 73 0d 20 2a 09 74 6f 20 | 6b 65 65 70 20 70 75 62 |s. *.to |keep pub| |00000650| 6c 69 63 6c 79 20 65 78 | 65 63 75 74 61 62 6c 65 |licly ex|ecutable| |00000660| 20 69 6d 61 67 65 73 20 | 66 6f 72 20 74 68 65 20 | images |for the | |00000670| 70 61 63 6b 61 67 65 20 | 69 6e 20 71 75 65 73 74 |package |in quest| |00000680| 69 6f 6e 2e 20 20 49 74 | 0d 20 2a 09 69 73 20 6d |ion. It|. *.is m| |00000690| 6f 73 74 20 6f 66 74 65 | 6e 20 61 20 6c 6f 63 61 |ost ofte|n a loca| |000006a0| 6c 20 64 69 72 65 63 74 | 6f 72 79 20 73 75 63 68 |l direct|ory such| |000006b0| 20 61 73 20 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 62 | as /usr|/local/b| |000006c0| 69 6e 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 20 |in.. */.|#define | |000006d0| 42 49 4e 20 22 6d 65 72 | 6c 69 6e 3a 4d 50 57 3a |BIN "mer|lin:MPW:| |000006e0| 54 6f 6f 6c 73 22 20 20 | 20 20 20 20 20 20 20 20 |Tools" | | |000006f0| 20 20 20 2f 2a 2a 2f 0d | 0d 2f 2a 20 42 59 54 45 | /**/.|./* BYTE| |00000700| 4f 52 44 45 52 0d 20 2a | 09 54 68 69 73 20 73 79 |ORDER. *|.This sy| |00000710| 6d 62 6f 6c 20 63 6f 6e | 74 61 69 6e 73 20 61 6e |mbol con|tains an| |00000720| 20 65 6e 63 6f 64 69 6e | 67 20 6f 66 20 74 68 65 | encodin|g of the| |00000730| 20 6f 72 64 65 72 20 6f | 66 20 62 79 74 65 73 20 | order o|f bytes | |00000740| 69 6e 20 61 20 6c 6f 6e | 67 2e 0d 20 2a 09 55 73 |in a lon|g.. *.Us| |00000750| 75 61 6c 20 76 61 6c 75 | 65 73 20 28 69 6e 20 68 |ual valu|es (in h| |00000760| 65 78 29 20 61 72 65 20 | 30 78 31 32 33 34 2c 20 |ex) are |0x1234, | |00000770| 30 78 34 33 32 31 2c 20 | 30 78 32 31 34 33 2c 20 |0x4321, |0x2143, | |00000780| 30 78 33 34 31 32 2e 2e | 2e 0d 20 2a 2f 0d 23 64 |0x3412..|.. */.#d| |00000790| 65 66 69 6e 65 20 42 59 | 54 45 4f 52 44 45 52 20 |efine BY|TEORDER | |000007a0| 30 78 34 33 32 31 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |0x4321..|/**/../*| |000007b0| 20 43 50 50 53 54 44 49 | 4e 0d 20 2a 09 54 68 69 | CPPSTDI|N. *.Thi| |000007c0| 73 20 73 79 6d 62 6f 6c | 20 63 6f 6e 74 61 69 6e |s symbol| contain| |000007d0| 73 20 74 68 65 20 66 69 | 72 73 74 20 70 61 72 74 |s the fi|rst part| |000007e0| 20 6f 66 20 74 68 65 20 | 73 74 72 69 6e 67 20 77 | of the |string w| |000007f0| 68 69 63 68 20 77 69 6c | 6c 20 69 6e 76 6f 6b 65 |hich wil|l invoke| |00000800| 0d 20 2a 09 74 68 65 20 | 43 20 70 72 65 70 72 6f |. *.the |C prepro| |00000810| 63 65 73 73 6f 72 20 6f | 6e 20 74 68 65 20 73 74 |cessor o|n the st| |00000820| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 20 61 6e 64 |andard i|nput and| |00000830| 20 70 72 6f 64 75 63 65 | 20 74 6f 20 73 74 61 6e | produce| to stan| |00000840| 64 61 72 64 0d 20 2a 09 | 6f 75 74 70 75 74 2e 09 |dard. *.|output..| |00000850| 20 54 79 70 69 63 61 6c | 20 76 61 6c 75 65 20 6f | Typical| value o| |00000860| 66 20 22 63 63 20 2d 45 | 22 20 6f 72 20 22 2f 6c |f "cc -E|" or "/l| |00000870| 69 62 2f 63 70 70 22 2e | 0d 20 2a 2f 0d 2f 2a 20 |ib/cpp".|. */./* | |00000880| 43 50 50 4d 49 4e 55 53 | 0d 20 2a 09 54 68 69 73 |CPPMINUS|. *.This| |00000890| 20 73 79 6d 62 6f 6c 20 | 63 6f 6e 74 61 69 6e 73 | symbol |contains| |000008a0| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 70 61 72 74 | the sec|ond part| |000008b0| 20 6f 66 20 74 68 65 20 | 73 74 72 69 6e 67 20 77 | of the |string w| |000008c0| 68 69 63 68 20 77 69 6c | 6c 20 69 6e 76 6f 6b 65 |hich wil|l invoke| |000008d0| 0d 20 2a 09 74 68 65 20 | 43 20 70 72 65 70 72 6f |. *.the |C prepro| |000008e0| 63 65 73 73 6f 72 20 6f | 6e 20 74 68 65 20 73 74 |cessor o|n the st| |000008f0| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 20 61 6e 64 |andard i|nput and| |00000900| 20 70 72 6f 64 75 63 65 | 20 74 6f 20 73 74 61 6e | produce| to stan| |00000910| 64 61 72 64 0d 20 2a 09 | 6f 75 74 70 75 74 2e 20 |dard. *.|output. | |00000920| 20 54 68 69 73 20 73 79 | 6d 62 6f 6c 20 77 69 6c | This sy|mbol wil| |00000930| 6c 20 68 61 76 65 20 74 | 68 65 20 76 61 6c 75 65 |l have t|he value| |00000940| 20 22 2d 22 20 69 66 20 | 43 50 50 53 54 44 49 4e | "-" if |CPPSTDIN| |00000950| 20 6e 65 65 64 73 20 61 | 20 6d 69 6e 75 73 0d 20 | needs a| minus. | |00000960| 2a 09 74 6f 20 73 70 65 | 63 69 66 79 20 73 74 61 |*.to spe|cify sta| |00000970| 6e 64 61 72 64 20 69 6e | 70 75 74 2c 20 6f 74 68 |ndard in|put, oth| |00000980| 65 72 77 69 73 65 20 74 | 68 65 20 76 61 6c 75 65 |erwise t|he value| |00000990| 20 69 73 20 22 22 2e 0d | 20 2a 2f 0d 23 64 65 66 | is ""..| */.#def| |000009a0| 69 6e 65 20 43 50 50 53 | 54 44 49 4e 20 22 43 20 |ine CPPS|TDIN "C | |000009b0| 2d 65 22 0d 23 64 65 66 | 69 6e 65 20 43 50 50 4d |-e".#def|ine CPPM| |000009c0| 49 4e 55 53 20 22 22 0d | 0d 2f 2a 20 48 41 53 5f |INUS "".|./* HAS_| |000009d0| 42 43 4d 50 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |BCMP. *.|This sym| |000009e0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |000009f0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00000a00| 74 68 65 20 62 63 6d 70 | 20 72 6f 75 74 69 6e 65 |the bcmp| routine| |00000a10| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 0d 20 2a | is avai|lable. *| |00000a20| 09 74 6f 20 63 6f 6d 70 | 61 72 65 20 62 6c 6f 63 |.to comp|are bloc| |00000a30| 6b 73 20 6f 66 20 6d 65 | 6d 6f 72 79 2e 20 20 49 |ks of me|mory. I| |00000a40| 66 20 75 6e 64 65 66 69 | 6e 65 64 2c 20 75 73 65 |f undefi|ned, use| |00000a50| 20 6d 65 6d 63 6d 70 2e | 20 20 49 66 20 74 68 61 | memcmp.| If tha| |00000a60| 74 27 73 0d 20 2a 09 6e | 6f 74 20 61 76 61 69 6c |t's. *.n|ot avail| |00000a70| 61 62 6c 65 2c 20 72 6f | 6c 6c 20 79 6f 75 72 20 |able, ro|ll your | |00000a80| 6f 77 6e 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |own.. */|.#undef.| |00000a90| 48 41 53 5f 42 43 4d 50 | 09 09 2f 2a 2a 2f 0d 0d |HAS_BCMP|../**/..| |00000aa0| 2f 2a 20 48 41 53 5f 42 | 43 4f 50 59 0d 20 2a 09 |/* HAS_B|COPY. *.| |00000ab0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if | |00000ac0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat| |00000ad0| 65 73 20 74 68 61 74 20 | 74 68 65 20 62 63 6f 70 |es that |the bcop| |00000ae0| 79 20 72 6f 75 74 69 6e | 65 20 69 73 20 61 76 61 |y routin|e is ava| |00000af0| 69 6c 61 62 6c 65 0d 20 | 2a 09 74 6f 20 63 6f 70 |ilable. |*.to cop| |00000b00| 79 20 62 6c 6f 63 6b 73 | 20 6f 66 20 6d 65 6d 6f |y blocks| of memo| |00000b10| 72 79 2e 20 20 4f 74 68 | 65 72 77 69 73 65 20 79 |ry. Oth|erwise y| |00000b20| 6f 75 20 73 68 6f 75 6c | 64 20 70 72 6f 62 61 62 |ou shoul|d probab| |00000b30| 6c 79 20 75 73 65 20 6d | 65 6d 63 70 79 28 29 2e |ly use m|emcpy().| |00000b40| 0d 2b 20 20 2a 09 49 66 | 20 6e 65 69 74 68 65 72 |.+ *.If| neither| |00000b50| 20 69 73 20 64 65 66 69 | 6e 65 64 2c 20 72 6f 6c | is defi|ned, rol| |00000b60| 6c 20 79 6f 75 72 20 6f | 77 6e 2e 0d 20 20 20 2a |l your o|wn.. *| |00000b70| 2f 0d 2f 2a 20 53 41 46 | 45 5f 42 43 4f 50 59 0d |/./* SAF|E_BCOPY.| |00000b80| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, | |00000b90| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi| |00000ba0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 62 |cates th|at the b| |00000bb0| 63 6f 70 79 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |copy rou|tine is | |00000bc0| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to | |00000bd0| 63 6f 70 79 20 70 6f 74 | 65 6e 74 69 61 6c 6c 79 |copy pot|entially| |00000be0| 20 6f 76 65 72 6c 61 70 | 70 69 6e 67 20 63 6f 70 | overlap|ping cop| |00000bf0| 79 20 62 6c 6f 63 6b 73 | 20 6f 66 20 62 63 6f 70 |y blocks| of bcop| |00000c00| 79 2e 20 20 4f 74 68 65 | 72 77 69 73 65 20 79 6f |y. Othe|rwise yo| |00000c10| 75 0d 20 2a 09 73 68 6f | 75 6c 64 20 70 72 6f 62 |u. *.sho|uld prob| |00000c20| 61 62 6c 79 20 75 73 65 | 20 6d 65 6d 6d 6f 76 65 |ably use| memmove| |00000c30| 28 29 20 6f 72 20 6d 65 | 6d 63 70 79 28 29 2e 20 |() or me|mcpy(). | |00000c40| 20 49 66 20 6e 65 69 74 | 68 65 72 20 69 73 20 64 | If neit|her is d| |00000c50| 65 66 69 6e 65 64 2c 0d | 20 2a 09 72 6f 6c 6c 20 |efined,.| *.roll | |00000c60| 79 6f 75 72 20 6f 77 6e | 2e 0d 20 2a 2f 0d 23 75 |your own|.. */.#u| |00000c70| 6e 64 65 66 09 48 41 53 | 5f 42 43 4f 50 59 09 09 |ndef.HAS|_BCOPY..| |00000c80| 2f 2a 2a 2f 0d 23 75 6e | 64 65 66 09 53 41 46 45 |/**/.#un|def.SAFE| |00000c90| 5f 42 43 4f 50 59 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |_BCOPY..|/**/../*| |00000ca0| 20 48 41 53 5f 42 5a 45 | 52 4f 0d 20 2a 09 54 68 | HAS_BZE|RO. *.Th| |00000cb0| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de| |00000cc0| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates| |00000cd0| 20 74 68 61 74 20 74 68 | 65 20 62 7a 65 72 6f 20 | that th|e bzero | |00000ce0| 72 6f 75 74 69 6e 65 20 | 69 73 20 61 76 61 69 6c |routine |is avail| |00000cf0| 61 62 6c 65 0d 20 2a 09 | 74 6f 20 7a 65 72 6f 20 |able. *.|to zero | |00000d00| 62 6c 6f 63 6b 73 20 6f | 66 20 6d 65 6d 6f 72 79 |blocks o|f memory| |00000d10| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 20 79 6f 75 |. Other|wise you| |00000d20| 20 73 68 6f 75 6c 64 20 | 70 72 6f 62 61 62 6c 79 | should |probably| |00000d30| 20 75 73 65 20 6d 65 6d | 73 65 74 28 29 0d 20 2a | use mem|set(). *| |00000d40| 09 6f 72 20 72 6f 6c 6c | 20 79 6f 75 72 20 6f 77 |.or roll| your ow| |00000d50| 6e 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 48 41 |n.. */.#|undef.HA| |00000d60| 53 5f 42 5a 45 52 4f 09 | 09 2f 2a 2a 2f 0d 0d 2f |S_BZERO.|./**/../| |00000d70| 2a 20 43 41 53 54 4e 45 | 47 46 4c 4f 41 54 0d 20 |* CASTNE|GFLOAT. | |00000d80| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |00000d90| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |00000da0| 61 74 65 73 20 74 68 61 | 74 20 74 68 69 73 20 43 |ates tha|t this C| |00000db0| 20 63 6f 6d 70 69 6c 65 | 72 20 6b 6e 6f 77 73 20 | compile|r knows | |00000dc0| 68 6f 77 20 74 6f 0d 20 | 2a 09 63 61 73 74 20 6e |how to. |*.cast n| |00000dd0| 65 67 61 74 69 76 65 20 | 6f 72 20 6c 61 72 67 65 |egative |or large| |00000de0| 20 66 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | floatin|g point | |00000df0| 6e 75 6d 62 65 72 73 20 | 74 6f 20 75 6e 73 69 67 |numbers |to unsig| |00000e00| 6e 65 64 20 6c 6f 6e 67 | 73 2c 20 69 6e 74 73 0d |ned long|s, ints.| |00000e10| 20 2a 09 61 6e 64 20 73 | 68 6f 72 74 73 2e 0d 20 | *.and s|horts.. | |00000e20| 2a 2f 0d 2f 2a 20 43 41 | 53 54 46 4c 41 47 53 0d |*/./* CA|STFLAGS.| |00000e30| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 20 63 | *.This |symbol c| |00000e40| 6f 6e 74 61 69 6e 73 20 | 66 6c 61 67 73 20 74 68 |ontains |flags th| |00000e50| 61 74 20 73 61 79 20 77 | 68 61 74 20 64 69 66 66 |at say w|hat diff| |00000e60| 69 63 75 6c 74 69 65 73 | 20 74 68 65 20 63 6f 6d |iculties| the com| |00000e70| 70 69 6c 65 72 0d 20 2a | 09 68 61 73 20 63 61 73 |piler. *|.has cas| |00000e80| 74 69 6e 67 20 6f 64 64 | 20 66 6c 6f 61 74 69 6e |ting odd| floatin| |00000e90| 67 20 76 61 6c 75 65 73 | 20 74 6f 20 75 6e 73 69 |g values| to unsi| |00000ea0| 67 6e 65 64 20 6c 6f 6e | 67 3a 0d 20 2a 09 09 31 |gned lon|g:. *..1| |00000eb0| 20 3d 20 63 6f 75 6c 64 | 6e 27 74 20 63 61 73 74 | = could|n't cast| |00000ec0| 20 3c 20 30 0d 20 2a 09 | 09 32 20 3d 20 63 6f 75 | < 0. *.|.2 = cou| |00000ed0| 6c 64 6e 27 74 20 63 61 | 73 74 20 3e 3d 20 30 78 |ldn't ca|st >= 0x| |00000ee0| 38 30 30 30 30 30 30 30 | 0d 20 2a 2f 0d 23 64 65 |80000000|. */.#de| |00000ef0| 66 69 6e 65 09 43 41 53 | 54 4e 45 47 46 4c 4f 41 |fine.CAS|TNEGFLOA| |00000f00| 54 09 2f 2a 2a 2f 0d 23 | 64 65 66 69 6e 65 09 43 |T./**/.#|define.C| |00000f10| 41 53 54 46 4c 41 47 53 | 20 30 09 2f 2a 2a 2f 0d |ASTFLAGS| 0./**/.| |00000f20| 0d 2f 2a 20 43 48 41 52 | 53 50 52 49 4e 54 46 0d |./* CHAR|SPRINTF.| |00000f30| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 20 69 | *.This |symbol i| |00000f40| 73 20 64 65 66 69 6e 65 | 64 20 69 66 20 74 68 69 |s define|d if thi| |00000f50| 73 20 73 79 73 74 65 6d | 20 64 65 63 6c 61 72 65 |s system| declare| |00000f60| 73 20 22 63 68 61 72 20 | 2a 73 70 72 69 6e 74 66 |s "char |*sprintf| |00000f70| 28 29 22 20 69 6e 0d 20 | 2a 09 73 74 64 69 6f 2e |()" in. |*.stdio.| |00000f80| 68 2e 20 20 54 68 65 20 | 74 72 65 6e 64 20 73 65 |h. The |trend se| |00000f90| 65 6d 73 20 74 6f 20 62 | 65 20 74 6f 20 64 65 63 |ems to b|e to dec| |00000fa0| 6c 61 72 65 20 69 74 20 | 61 73 20 22 69 6e 74 20 |lare it |as "int | |00000fb0| 73 70 72 69 6e 74 66 28 | 29 22 2e 20 20 49 74 0d |sprintf(|)". It.| |00000fc0| 20 2a 09 69 73 20 75 70 | 20 74 6f 20 74 68 65 20 | *.is up| to the | |00000fd0| 70 61 63 6b 61 67 65 20 | 61 75 74 68 6f 72 20 74 |package |author t| |00000fe0| 6f 20 64 65 63 6c 61 72 | 65 20 73 70 72 69 6e 74 |o declar|e sprint| |00000ff0| 66 20 63 6f 72 72 65 63 | 74 6c 79 20 62 61 73 65 |f correc|tly base| |00001000| 64 20 6f 6e 20 74 68 65 | 0d 20 2a 09 73 79 6d 62 |d on the|. *.symb| |00001010| 6f 6c 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 43 |ol.. */.|#undef.C| |00001020| 48 41 52 53 50 52 49 4e | 54 46 20 09 2f 2a 2a 2f |HARSPRIN|TF ./**/| |00001030| 0d 0d 2f 2a 20 48 41 53 | 5f 43 48 53 49 5a 45 0d |../* HAS|_CHSIZE.| |00001040| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, | |00001050| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi| |00001060| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 63 |cates th|at the c| |00001070| 68 73 69 7a 65 20 72 6f | 75 74 69 6e 65 20 69 73 |hsize ro|utine is| |00001080| 20 61 76 61 69 6c 61 62 | 6c 65 0d 20 2a 09 74 6f | availab|le. *.to| |00001090| 20 74 72 75 6e 63 61 74 | 65 20 66 69 6c 65 73 2e | truncat|e files.| |000010a0| 20 20 59 6f 75 20 6d 69 | 67 68 74 20 6e 65 65 64 | You mi|ght need| |000010b0| 20 61 20 2d 6c 78 20 74 | 6f 20 67 65 74 20 74 68 | a -lx t|o get th| |000010c0| 69 73 20 72 6f 75 74 69 | 6e 65 2e 0d 20 2a 2f 0d |is routi|ne.. */.| |000010d0| 23 75 6e 64 65 66 09 48 | 41 53 5f 43 48 53 49 5a |#undef.H|AS_CHSIZ| |000010e0| 45 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |E../**/.|./* HAS_| |000010f0| 43 52 59 50 54 0d 20 2a | 09 54 68 69 73 20 73 79 |CRYPT. *|.This sy| |00001100| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00001110| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00001120| 20 74 68 65 20 63 72 79 | 70 74 20 72 6f 75 74 69 | the cry|pt routi| |00001130| 6e 65 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 0d |ne is av|ailable.| |00001140| 20 2a 09 74 6f 20 65 6e | 63 72 79 70 74 20 70 61 | *.to en|crypt pa| |00001150| 73 73 77 6f 72 64 73 20 | 61 6e 64 20 74 68 65 20 |sswords |and the | |00001160| 6c 69 6b 65 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |like.. *|/.#undef| |00001170| 09 48 41 53 5f 43 52 59 | 50 54 09 09 2f 2a 2a 2f |.HAS_CRY|PT../**/| |00001180| 0d 0d 2f 2a 20 43 53 48 | 0d 20 2a 09 54 68 69 73 |../* CSH|. *.This| |00001190| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |000011a0| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |000011b0| 68 61 74 20 74 68 65 20 | 43 2d 73 68 65 6c 6c 20 |hat the |C-shell | |000011c0| 65 78 69 73 74 73 2e 0d | 20 2a 09 49 66 20 64 65 |exists..| *.If de| |000011d0| 66 69 6e 65 64 2c 20 63 | 6f 6e 74 61 69 6e 73 20 |fined, c|ontains | |000011e0| 74 68 65 20 66 75 6c 6c | 20 70 61 74 68 6e 61 6d |the full| pathnam| |000011f0| 65 20 6f 66 20 63 73 68 | 2e 0d 20 2a 2f 0d 23 75 |e of csh|.. */.#u| |00001200| 6e 64 65 66 20 43 53 48 | 20 22 2f 62 69 6e 2f 63 |ndef CSH| "/bin/c| |00001210| 73 68 22 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 44 4f |sh"../**|/../* DO| |00001220| 53 55 49 44 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |SUID. *.|This sym| |00001230| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |00001240| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00001250| 74 68 65 20 43 20 70 72 | 6f 67 72 61 6d 20 73 68 |the C pr|ogram sh| |00001260| 6f 75 6c 64 0d 20 2a 09 | 63 68 65 63 6b 20 74 68 |ould. *.|check th| |00001270| 65 20 73 63 72 69 70 74 | 20 74 68 61 74 20 69 74 |e script| that it| |00001280| 20 69 73 20 65 78 65 63 | 75 74 69 6e 67 20 66 6f | is exec|uting fo| |00001290| 72 20 73 65 74 75 69 64 | 2f 73 65 74 67 69 64 20 |r setuid|/setgid | |000012a0| 62 69 74 73 2c 20 61 6e | 64 0d 20 2a 09 61 74 74 |bits, an|d. *.att| |000012b0| 65 6d 70 74 20 74 6f 20 | 65 6d 75 6c 61 74 65 20 |empt to |emulate | |000012c0| 73 65 74 75 69 64 2f 73 | 65 74 67 69 64 20 6f 6e |setuid/s|etgid on| |000012d0| 20 73 79 73 74 65 6d 73 | 20 74 68 61 74 20 68 61 | systems| that ha| |000012e0| 76 65 20 64 69 73 61 62 | 6c 65 64 0d 20 2a 09 73 |ve disab|led. *.s| |000012f0| 65 74 75 69 64 20 23 21 | 20 73 63 72 69 70 74 73 |etuid #!| scripts| |00001300| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 6b 65 72 | because| the ker| |00001310| 6e 65 6c 20 63 61 6e 27 | 74 20 64 6f 20 69 74 20 |nel can'|t do it | |00001320| 73 65 63 75 72 65 6c 79 | 2e 0d 20 2a 09 49 74 20 |securely|.. *.It | |00001330| 69 73 20 75 70 20 74 6f | 20 74 68 65 20 70 61 63 |is up to| the pac| |00001340| 6b 61 67 65 20 64 65 73 | 69 67 6e 65 72 20 74 6f |kage des|igner to| |00001350| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 | make su|re that | |00001360| 74 68 69 73 20 65 6d 75 | 6c 61 74 69 6f 6e 0d 20 |this emu|lation. | |00001370| 2a 09 69 73 20 64 6f 6e | 65 20 73 65 63 75 72 65 |*.is don|e secure| |00001380| 6c 79 2e 20 20 41 6d 6f | 6e 67 20 6f 74 68 65 72 |ly. Amo|ng other| |00001390| 20 74 68 69 6e 67 73 2c | 20 69 74 20 73 68 6f 75 | things,| it shou| |000013a0| 6c 64 20 64 6f 20 61 6e | 20 66 73 74 61 74 20 6f |ld do an| fstat o| |000013b0| 6e 0d 20 2a 09 74 68 65 | 20 73 63 72 69 70 74 20 |n. *.the| script | |000013c0| 69 74 20 6a 75 73 74 20 | 6f 70 65 6e 65 64 20 74 |it just |opened t| |000013d0| 6f 20 6d 61 6b 65 20 73 | 75 72 65 20 69 74 20 72 |o make s|ure it r| |000013e0| 65 61 6c 6c 79 20 69 73 | 20 61 20 73 65 74 75 69 |eally is| a setui| |000013f0| 64 2f 73 65 74 67 69 64 | 0d 20 2a 09 73 63 72 69 |d/setgid|. *.scri| |00001400| 70 74 2c 20 69 74 20 73 | 68 6f 75 6c 64 20 6d 61 |pt, it s|hould ma| |00001410| 6b 65 20 73 75 72 65 20 | 74 68 65 20 61 72 67 75 |ke sure |the argu| |00001420| 6d 65 6e 74 73 20 70 61 | 73 73 65 64 20 63 6f 72 |ments pa|ssed cor| |00001430| 72 65 73 70 6f 6e 64 20 | 65 78 61 63 74 6c 79 0d |respond |exactly.| |00001440| 20 2a 09 74 6f 20 74 68 | 65 20 61 72 67 75 6d 65 | *.to th|e argume| |00001450| 6e 74 20 6f 6e 20 74 68 | 65 20 23 21 20 6c 69 6e |nt on th|e #! lin| |00001460| 65 2c 20 61 6e 64 20 69 | 74 20 73 68 6f 75 6c 64 |e, and i|t should| |00001470| 20 6e 6f 74 20 74 72 75 | 73 74 20 61 6e 79 0d 20 | not tru|st any. | |00001480| 2a 09 73 75 62 70 72 6f | 63 65 73 73 65 73 20 74 |*.subpro|cesses t| |00001490| 6f 20 77 68 69 63 68 20 | 69 74 20 6d 75 73 74 20 |o which |it must | |000014a0| 70 61 73 73 20 74 68 65 | 20 66 69 6c 65 6e 61 6d |pass the| filenam| |000014b0| 65 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 74 68 |e rather| than th| |000014c0| 65 0d 20 2a 09 66 69 6c | 65 20 64 65 73 63 72 69 |e. *.fil|e descri| |000014d0| 70 74 6f 72 20 6f 66 20 | 74 68 65 20 73 63 72 69 |ptor of |the scri| |000014e0| 70 74 20 74 6f 20 62 65 | 20 65 78 65 63 75 74 65 |pt to be| execute| |000014f0| 64 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 20 44 4f |d.. */.#|undef DO| |00001500| 53 55 49 44 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |SUID../*|*/../* H| |00001510| 41 53 5f 44 55 50 32 0d | 20 2a 09 54 68 69 73 20 |AS_DUP2.| *.This | |00001520| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |00001530| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |00001540| 61 74 20 74 68 65 20 64 | 75 70 32 20 72 6f 75 74 |at the d|up2 rout| |00001550| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable| |00001560| 0d 20 2a 09 74 6f 20 64 | 75 70 20 66 69 6c 65 20 |. *.to d|up file | |00001570| 64 65 73 63 72 69 70 74 | 6f 72 73 2e 20 20 4f 74 |descript|ors. Ot| |00001580| 68 65 72 77 69 73 65 20 | 79 6f 75 20 73 68 6f 75 |herwise |you shou| |00001590| 6c 64 20 75 73 65 20 64 | 75 70 28 29 2e 0d 20 2a |ld use d|up().. *| |000015a0| 2f 0d 23 64 65 66 69 6e | 65 09 48 41 53 5f 44 55 |/.#defin|e.HAS_DU| |000015b0| 50 32 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |P2../**/|../* HAS| |000015c0| 5f 46 43 48 4d 4f 44 0d | 20 2a 09 54 68 69 73 20 |_FCHMOD.| *.This | |000015d0| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |000015e0| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |000015f0| 61 74 20 74 68 65 20 66 | 63 68 6d 6f 64 20 72 6f |at the f|chmod ro| |00001600| 75 74 69 6e 65 20 69 73 | 20 61 76 61 69 6c 61 62 |utine is| availab| |00001610| 6c 65 0d 20 2a 09 74 6f | 20 63 68 61 6e 67 65 20 |le. *.to| change | |00001620| 6d 6f 64 65 20 6f 66 20 | 6f 70 65 6e 65 64 20 66 |mode of |opened f| |00001630| 69 6c 65 73 2e 20 20 49 | 66 20 75 6e 61 76 61 69 |iles. I|f unavai| |00001640| 6c 61 62 6c 65 2c 20 75 | 73 65 20 63 68 6d 6f 64 |lable, u|se chmod| |00001650| 28 29 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |().. */.|#undef.H| |00001660| 41 53 5f 46 43 48 4d 4f | 44 09 09 2f 2a 2a 2f 0d |AS_FCHMO|D../**/.| |00001670| 0d 2f 2a 20 48 41 53 5f | 46 43 48 4f 57 4e 0d 20 |./* HAS_|FCHOWN. | |00001680| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |00001690| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |000016a0| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 66 63 |ates tha|t the fc| |000016b0| 68 6f 77 6e 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |hown rou|tine is | |000016c0| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to | |000016d0| 63 68 61 6e 67 65 20 6f | 77 6e 65 72 73 68 69 70 |change o|wnership| |000016e0| 20 6f 66 20 6f 70 65 6e | 65 64 20 66 69 6c 65 73 | of open|ed files| |000016f0| 2e 20 20 49 66 20 75 6e | 61 76 61 69 6c 61 62 6c |. If un|availabl| |00001700| 65 2c 20 75 73 65 20 63 | 68 6f 77 6e 28 29 2e 0d |e, use c|hown()..| |00001710| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 48 41 53 5f 46 | */.#und|ef.HAS_F| |00001720| 43 48 4f 57 4e 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |CHOWN../|**/../* | |00001730| 48 41 53 5f 46 43 4e 54 | 4c 0d 20 2a 09 54 68 69 |HAS_FCNT|L. *.Thi| |00001740| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00001750| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00001760| 74 6f 20 74 68 65 20 43 | 20 70 72 6f 67 72 61 6d |to the C| program| |00001770| 20 74 68 61 74 0d 20 2a | 09 74 68 65 20 66 63 6e | that. *|.the fcn| |00001780| 74 6c 28 29 20 66 75 6e | 63 74 69 6f 6e 20 65 78 |tl() fun|ction ex| |00001790| 69 73 74 73 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |ists.. *|/.#defin| |000017a0| 65 09 48 41 53 5f 46 43 | 4e 54 4c 09 09 2f 2a 2a |e.HAS_FC|NTL../**| |000017b0| 2f 0d 0d 2f 2a 20 46 4c | 45 58 46 49 4c 45 4e 41 |/../* FL|EXFILENA| |000017c0| 4d 45 53 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |MES. *.T|his symb| |000017d0| 6f 6c 2c 20 69 66 20 64 | 65 66 69 6e 65 64 2c 20 |ol, if d|efined, | |000017e0| 69 6e 64 69 63 61 74 65 | 73 20 74 68 61 74 20 74 |indicate|s that t| |000017f0| 68 65 20 73 79 73 74 65 | 6d 20 73 75 70 70 6f 72 |he syste|m suppor| |00001800| 74 73 20 66 69 6c 65 6e | 61 6d 65 73 0d 20 2a 09 |ts filen|ames. *.| |00001810| 6c 6f 6e 67 65 72 20 74 | 68 61 6e 20 31 34 20 63 |longer t|han 14 c| |00001820| 68 61 72 61 63 74 65 72 | 73 2e 0d 20 2a 2f 0d 23 |haracter|s.. */.#| |00001830| 64 65 66 69 6e 65 09 46 | 4c 45 58 46 49 4c 45 4e |define.F|LEXFILEN| |00001840| 41 4d 45 53 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |AMES../*|*/../* H| |00001850| 41 53 5f 46 4c 4f 43 4b | 0d 20 2a 09 54 68 69 73 |AS_FLOCK|. *.This| |00001860| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |00001870| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |00001880| 68 61 74 20 74 68 65 20 | 66 6c 6f 63 6b 28 29 20 |hat the |flock() | |00001890| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av| |000018a0| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 6f 20 66 69 |ailable |to do fi| |000018b0| 6c 65 20 6c 6f 63 6b 69 | 6e 67 2e 0d 20 2a 2f 0d |le locki|ng.. */.| |000018c0| 23 75 6e 64 65 66 09 48 | 41 53 5f 46 4c 4f 43 4b |#undef.H|AS_FLOCK| |000018d0| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 47 |../**/..|/* HAS_G| |000018e0| 45 54 47 52 4f 55 50 53 | 0d 20 2a 09 54 68 69 73 |ETGROUPS|. *.This| |000018f0| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |00001900| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |00001910| 68 61 74 20 74 68 65 20 | 67 65 74 67 72 6f 75 70 |hat the |getgroup| |00001920| 73 28 29 20 72 6f 75 74 | 69 6e 65 20 69 73 0d 20 |s() rout|ine is. | |00001930| 2a 09 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 67 |*.availa|ble to g| |00001940| 65 74 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 70 |et the l|ist of p| |00001950| 72 6f 63 65 73 73 20 67 | 72 6f 75 70 73 2e 20 20 |rocess g|roups. | |00001960| 49 66 20 75 6e 61 76 61 | 69 6c 61 62 6c 65 2c 20 |If unava|ilable, | |00001970| 6d 75 6c 74 69 70 6c 65 | 0d 20 2a 09 67 72 6f 75 |multiple|. *.grou| |00001980| 70 73 20 61 72 65 20 70 | 72 6f 62 61 62 6c 79 20 |ps are p|robably | |00001990| 6e 6f 74 20 73 75 70 70 | 6f 72 74 65 64 2e 0d 20 |not supp|orted.. | |000019a0| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 47 45 |*/.#unde|f.HAS_GE| |000019b0| 54 47 52 4f 55 50 53 09 | 09 2f 2a 2a 2f 0d 0d 2f |TGROUPS.|./**/../| |000019c0| 2a 20 48 41 53 5f 47 45 | 54 48 4f 53 54 45 4e 54 |* HAS_GE|THOSTENT| |000019d0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |000019e0| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |000019f0| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the | |00001a00| 67 65 74 68 6f 73 74 65 | 6e 74 28 29 20 72 6f 75 |gethoste|nt() rou| |00001a10| 74 69 6e 65 20 69 73 0d | 20 2a 09 61 76 61 69 6c |tine is.| *.avail| |00001a20| 61 62 6c 65 20 74 6f 20 | 6c 6f 6f 6b 75 70 20 68 |able to |lookup h| |00001a30| 6f 73 74 20 6e 61 6d 65 | 73 20 69 6e 20 73 6f 6d |ost name|s in som| |00001a40| 65 20 64 61 74 61 20 62 | 61 73 65 20 6f 72 20 6f |e data b|ase or o| |00001a50| 74 68 65 72 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |ther.. *|/.#undef| |00001a60| 09 48 41 53 5f 47 45 54 | 48 4f 53 54 45 4e 54 09 |.HAS_GET|HOSTENT.| |00001a70| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 47 45 |./**/../|* HAS_GE| |00001a80| 54 50 47 52 50 0d 20 2a | 09 54 68 69 73 20 73 79 |TPGRP. *|.This sy| |00001a90| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00001aa0| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00001ab0| 20 74 68 65 20 67 65 74 | 70 67 72 70 28 29 20 72 | the get|pgrp() r| |00001ac0| 6f 75 74 69 6e 65 20 69 | 73 0d 20 2a 09 61 76 61 |outine i|s. *.ava| |00001ad0| 69 6c 61 62 6c 65 20 74 | 6f 20 67 65 74 20 74 68 |ilable t|o get th| |00001ae0| 65 20 63 75 72 72 65 6e | 74 20 70 72 6f 63 65 73 |e curren|t proces| |00001af0| 73 20 67 72 6f 75 70 2e | 0d 20 2a 2f 0d 23 75 6e |s group.|. */.#un| |00001b00| 64 65 66 09 48 41 53 5f | 47 45 54 50 47 52 50 09 |def.HAS_|GETPGRP.| |00001b10| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 47 45 |./**/../|* HAS_GE| |00001b20| 54 50 47 52 50 32 0d 20 | 2a 09 54 68 69 73 20 73 |TPGRP2. |*.This s| |00001b30| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00001b40| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00001b50| 74 20 74 68 65 20 67 65 | 74 70 67 72 70 32 28 29 |t the ge|tpgrp2()| |00001b60| 20 28 61 73 20 69 6e 20 | 44 47 2f 55 58 29 0d 20 | (as in |DG/UX). | |00001b70| 2a 09 72 6f 75 74 69 6e | 65 20 69 73 20 61 76 61 |*.routin|e is ava| |00001b80| 69 6c 61 62 6c 65 20 74 | 6f 20 67 65 74 20 74 68 |ilable t|o get th| |00001b90| 65 20 63 75 72 72 65 6e | 74 20 70 72 6f 63 65 73 |e curren|t proces| |00001ba0| 73 20 67 72 6f 75 70 2e | 0d 20 2a 2f 0d 23 75 6e |s group.|. */.#un| |00001bb0| 64 65 66 09 48 41 53 5f | 47 45 54 50 47 52 50 32 |def.HAS_|GETPGRP2| |00001bc0| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 47 |../**/..|/* HAS_G| |00001bd0| 45 54 50 52 49 4f 52 49 | 54 59 0d 20 2a 09 54 68 |ETPRIORI|TY. *.Th| |00001be0| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de| |00001bf0| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates| |00001c00| 20 74 68 61 74 20 74 68 | 65 20 67 65 74 70 72 69 | that th|e getpri| |00001c10| 6f 72 69 74 79 28 29 20 | 72 6f 75 74 69 6e 65 20 |ority() |routine | |00001c20| 69 73 0d 20 2a 09 61 76 | 61 69 6c 61 62 6c 65 20 |is. *.av|ailable | |00001c30| 74 6f 20 67 65 74 20 61 | 20 70 72 6f 63 65 73 73 |to get a| process| |00001c40| 27 73 20 70 72 69 6f 72 | 69 74 79 2e 0d 20 2a 2f |'s prior|ity.. */| |00001c50| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 47 45 54 50 |.#undef.|HAS_GETP| |00001c60| 52 49 4f 52 49 54 59 09 | 09 2f 2a 2a 2f 0d 0d 2f |RIORITY.|./**/../| |00001c70| 2a 20 48 41 53 5f 48 54 | 4f 4e 53 0d 20 2a 09 54 |* HAS_HT|ONS. *.T| |00001c80| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00001c90| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00001ca0| 73 20 74 68 61 74 20 74 | 68 65 20 68 74 6f 6e 73 |s that t|he htons| |00001cb0| 20 72 6f 75 74 69 6e 65 | 20 28 61 6e 64 20 66 72 | routine| (and fr| |00001cc0| 69 65 6e 64 73 29 0d 20 | 2a 09 61 72 65 20 61 76 |iends). |*.are av| |00001cd0| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 6f 20 6e 65 |ailable |to do ne| |00001ce0| 74 77 6f 72 6b 20 6f 72 | 64 65 72 20 62 79 74 65 |twork or|der byte| |00001cf0| 20 73 77 61 70 70 69 6e | 67 2e 0d 20 2a 2f 0d 2f | swappin|g.. */./| |00001d00| 2a 20 48 41 53 5f 48 54 | 4f 4e 4c 0d 20 2a 09 54 |* HAS_HT|ONL. *.T| |00001d10| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00001d20| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00001d30| 73 20 74 68 61 74 20 74 | 68 65 20 68 74 6f 6e 6c |s that t|he htonl| |00001d40| 20 72 6f 75 74 69 6e 65 | 20 28 61 6e 64 20 66 72 | routine| (and fr| |00001d50| 69 65 6e 64 73 29 0d 20 | 2a 09 61 72 65 20 61 76 |iends). |*.are av| |00001d60| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 6f 20 6e 65 |ailable |to do ne| |00001d70| 74 77 6f 72 6b 20 6f 72 | 64 65 72 20 62 79 74 65 |twork or|der byte| |00001d80| 20 73 77 61 70 70 69 6e | 67 2e 0d 20 2a 2f 0d 2f | swappin|g.. */./| |00001d90| 2a 20 48 41 53 5f 4e 54 | 4f 48 53 0d 20 2a 09 54 |* HAS_NT|OHS. *.T| |00001da0| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00001db0| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00001dc0| 73 20 74 68 61 74 20 74 | 68 65 20 6e 74 6f 68 73 |s that t|he ntohs| |00001dd0| 20 72 6f 75 74 69 6e 65 | 20 28 61 6e 64 20 66 72 | routine| (and fr| |00001de0| 69 65 6e 64 73 29 0d 20 | 2a 09 61 72 65 20 61 76 |iends). |*.are av| |00001df0| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 6f 20 6e 65 |ailable |to do ne| |00001e00| 74 77 6f 72 6b 20 6f 72 | 64 65 72 20 62 79 74 65 |twork or|der byte| |00001e10| 20 73 77 61 70 70 69 6e | 67 2e 0d 20 2a 2f 0d 2f | swappin|g.. */./| |00001e20| 2a 20 48 41 53 5f 4e 54 | 4f 48 4c 0d 20 2a 09 54 |* HAS_NT|OHL. *.T| |00001e30| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00001e40| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00001e50| 73 20 74 68 61 74 20 74 | 68 65 20 6e 74 6f 68 6c |s that t|he ntohl| |00001e60| 20 72 6f 75 74 69 6e 65 | 20 28 61 6e 64 20 66 72 | routine| (and fr| |00001e70| 69 65 6e 64 73 29 0d 20 | 2a 09 61 72 65 20 61 76 |iends). |*.are av| |00001e80| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 6f 20 6e 65 |ailable |to do ne| |00001e90| 74 77 6f 72 6b 20 6f 72 | 64 65 72 20 62 79 74 65 |twork or|der byte| |00001ea0| 20 73 77 61 70 70 69 6e | 67 2e 0d 20 2a 2f 0d 23 | swappin|g.. */.#| |00001eb0| 64 65 66 69 6e 65 09 48 | 41 53 5f 48 54 4f 4e 53 |define.H|AS_HTONS| |00001ec0| 09 2f 2a 2a 2f 0d 23 64 | 65 66 69 6e 65 09 48 41 |./**/.#d|efine.HA| |00001ed0| 53 5f 48 54 4f 4e 4c 09 | 2f 2a 2a 2f 0d 23 64 65 |S_HTONL.|/**/.#de| |00001ee0| 66 69 6e 65 09 48 41 53 | 5f 4e 54 4f 48 53 09 2f |fine.HAS|_NTOHS./| |00001ef0| 2a 2a 2f 0d 23 64 65 66 | 69 6e 65 09 48 41 53 5f |**/.#def|ine.HAS_| |00001f00| 4e 54 4f 48 4c 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 69 |NTOHL./*|*/../* i| |00001f10| 6e 64 65 78 0d 20 2a 09 | 54 68 69 73 20 70 72 65 |ndex. *.|This pre| |00001f20| 70 72 6f 63 65 73 73 6f | 72 20 73 79 6d 62 6f 6c |processo|r symbol| |00001f30| 20 69 73 20 64 65 66 69 | 6e 65 64 2c 20 61 6c 6f | is defi|ned, alo| |00001f40| 6e 67 20 77 69 74 68 20 | 72 69 6e 64 65 78 2c 20 |ng with |rindex, | |00001f50| 69 66 20 74 68 65 20 73 | 79 73 74 65 6d 0d 20 2a |if the s|ystem. *| |00001f60| 09 75 73 65 73 20 74 68 | 65 20 73 74 72 63 68 72 |.uses th|e strchr| |00001f70| 20 61 6e 64 20 73 74 72 | 72 63 68 72 20 72 6f 75 | and str|rchr rou| |00001f80| 74 69 6e 65 73 20 69 6e | 73 74 65 61 64 2e 0d 20 |tines in|stead.. | |00001f90| 2a 2f 0d 2f 2a 20 72 69 | 6e 64 65 78 0d 20 2a 09 |*/./* ri|ndex. *.| |00001fa0| 54 68 69 73 20 70 72 65 | 70 72 6f 63 65 73 73 6f |This pre|processo| |00001fb0| 72 20 73 79 6d 62 6f 6c | 20 69 73 20 64 65 66 69 |r symbol| is defi| |00001fc0| 6e 65 64 2c 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |ned, alo|ng with | |00001fd0| 69 6e 64 65 78 2c 20 69 | 66 20 74 68 65 20 73 79 |index, i|f the sy| |00001fe0| 73 74 65 6d 0d 20 2a 09 | 75 73 65 73 20 74 68 65 |stem. *.|uses the| |00001ff0| 20 73 74 72 63 68 72 20 | 61 6e 64 20 73 74 72 72 | strchr |and strr| |00002000| 63 68 72 20 72 6f 75 74 | 69 6e 65 73 20 69 6e 73 |chr rout|ines ins| |00002010| 74 65 61 64 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |tead.. *|/.#defin| |00002020| 65 09 69 6e 64 65 78 20 | 73 74 72 63 68 72 09 2f |e.index |strchr./| |00002030| 2a 20 63 75 6c 74 75 72 | 61 6c 20 2a 2f 0d 23 64 |* cultur|al */.#d| |00002040| 65 66 69 6e 65 09 72 69 | 6e 64 65 78 20 73 74 72 |efine.ri|ndex str| |00002050| 72 63 68 72 09 2f 2a 20 | 20 64 69 66 66 65 72 65 |rchr./* | differe| |00002060| 6e 63 65 73 3f 20 2a 2f | 0d 0d 2f 2a 20 48 41 53 |nces? */|../* HAS| |00002070| 5f 49 53 41 53 43 49 49 | 0d 20 2a 09 54 68 69 73 |_ISASCII|. *.This| |00002080| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |00002090| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |000020a0| 68 61 74 20 74 68 65 20 | 69 73 61 73 63 69 69 20 |hat the |isascii | |000020b0| 72 6f 75 74 69 6e 65 20 | 69 73 20 61 76 61 69 6c |routine |is avail| |000020c0| 61 62 6c 65 0d 20 2a 09 | 74 6f 20 74 65 73 74 20 |able. *.|to test | |000020d0| 63 68 61 72 61 63 74 65 | 72 73 20 66 6f 72 20 61 |characte|rs for a| |000020e0| 73 63 69 69 6e 65 73 73 | 2e 0d 20 2a 2f 0d 23 64 |sciiness|.. */.#d| |000020f0| 65 66 69 6e 65 09 48 41 | 53 5f 49 53 41 53 43 49 |efine.HA|S_ISASCI| |00002100| 49 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |I../**/.|./* HAS_| |00002110| 4b 49 4c 4c 50 47 0d 20 | 2a 09 54 68 69 73 20 73 |KILLPG. |*.This s| |00002120| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00002130| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00002140| 74 20 74 68 65 20 6b 69 | 6c 6c 70 67 20 72 6f 75 |t the ki|llpg rou| |00002150| 74 69 6e 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |tine is |availabl| |00002160| 65 0d 20 2a 09 74 6f 20 | 6b 69 6c 6c 20 70 72 6f |e. *.to |kill pro| |00002170| 63 65 73 73 20 67 72 6f | 75 70 73 2e 20 20 49 66 |cess gro|ups. If| |00002180| 20 75 6e 61 76 61 69 6c | 61 62 6c 65 2c 20 79 6f | unavail|able, yo| |00002190| 75 20 70 72 6f 62 61 62 | 6c 79 20 73 68 6f 75 6c |u probab|ly shoul| |000021a0| 64 20 75 73 65 20 6b 69 | 6c 6c 0d 20 2a 09 77 69 |d use ki|ll. *.wi| |000021b0| 74 68 20 61 20 6e 65 67 | 61 74 69 76 65 20 70 72 |th a neg|ative pr| |000021c0| 6f 63 65 73 73 20 6e 75 | 6d 62 65 72 2e 0d 20 2a |ocess nu|mber.. *| |000021d0| 2f 0d 23 75 6e 64 65 66 | 09 48 41 53 5f 4b 49 4c |/.#undef|.HAS_KIL| |000021e0| 4c 50 47 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |LPG../**|/../* HA| |000021f0| 53 5f 4c 53 54 41 54 0d | 20 2a 09 54 68 69 73 20 |S_LSTAT.| *.This | |00002200| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |00002210| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |00002220| 61 74 20 74 68 65 20 6c | 73 74 61 74 28 29 20 72 |at the l|stat() r| |00002230| 6f 75 74 69 6e 65 20 69 | 73 0d 20 2a 09 61 76 61 |outine i|s. *.ava| |00002240| 69 6c 61 62 6c 65 20 74 | 6f 20 73 74 61 74 20 73 |ilable t|o stat s| |00002250| 79 6d 62 6f 6c 69 63 20 | 6c 69 6e 6b 73 2e 0d 20 |ymbolic |links.. | |00002260| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 48 41 53 5f 4c |*/.#defi|ne.HAS_L| |00002270| 53 54 41 54 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |STAT../*|*/../* H| |00002280| 41 53 5f 4d 45 4d 43 4d | 50 0d 20 2a 09 54 68 69 |AS_MEMCM|P. *.Thi| |00002290| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |000022a0| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |000022b0| 74 68 61 74 20 74 68 65 | 20 6d 65 6d 63 6d 70 20 |that the| memcmp | |000022c0| 72 6f 75 74 69 6e 65 20 | 69 73 20 61 76 61 69 6c |routine |is avail| |000022d0| 61 62 6c 65 0d 20 2a 09 | 74 6f 20 63 6f 6d 70 61 |able. *.|to compa| |000022e0| 72 65 20 62 6c 6f 63 6b | 73 20 6f 66 20 6d 65 6d |re block|s of mem| |000022f0| 6f 72 79 2e 20 20 49 66 | 20 75 6e 64 65 66 69 6e |ory. If| undefin| |00002300| 65 64 2c 20 72 6f 6c 6c | 20 79 6f 75 72 20 6f 77 |ed, roll| your ow| |00002310| 6e 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |n.. */.#|define.H| |00002320| 41 53 5f 4d 45 4d 43 4d | 50 09 09 2f 2a 2a 2f 0d |AS_MEMCM|P../**/.| |00002330| 0d 2f 2a 20 48 41 53 5f | 4d 45 4d 43 50 59 0d 20 |./* HAS_|MEMCPY. | |00002340| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |00002350| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |00002360| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 6d 65 |ates tha|t the me| |00002370| 6d 63 70 79 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |mcpy rou|tine is | |00002380| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to | |00002390| 63 6f 70 79 20 62 6c 6f | 63 6b 73 20 6f 66 20 6d |copy blo|cks of m| |000023a0| 65 6d 6f 72 79 2e 20 20 | 4f 74 68 65 72 77 69 73 |emory. |Otherwis| |000023b0| 65 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 70 72 6f |e you sh|ould pro| |000023c0| 62 61 62 6c 79 20 75 73 | 65 20 62 63 6f 70 79 28 |bably us|e bcopy(| |000023d0| 29 2e 0d 20 2a 09 49 66 | 20 6e 65 69 74 68 65 72 |).. *.If| neither| |000023e0| 20 69 73 20 64 65 66 69 | 6e 65 64 2c 20 72 6f 6c | is defi|ned, rol| |000023f0| 6c 20 79 6f 75 72 20 6f | 77 6e 2e 0d 20 2a 2f 0d |l your o|wn.. */.| |00002400| 2f 2a 20 53 41 46 45 5f | 4d 45 4d 43 50 59 0d 20 |/* SAFE_|MEMCPY. | |00002410| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |00002420| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |00002430| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 6d 65 |ates tha|t the me| |00002440| 6d 63 70 79 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |mcpy rou|tine is | |00002450| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to | |00002460| 63 6f 70 79 20 70 6f 74 | 65 6e 74 69 61 6c 6c 79 |copy pot|entially| |00002470| 20 6f 76 65 72 6c 61 70 | 70 69 6e 67 20 63 6f 70 | overlap|ping cop| |00002480| 79 20 62 6c 6f 63 6b 73 | 20 6f 66 20 6d 65 6d 6f |y blocks| of memo| |00002490| 72 79 2e 20 20 4f 74 68 | 65 72 77 69 73 65 20 79 |ry. Oth|erwise y| |000024a0| 6f 75 0d 20 2a 09 73 68 | 6f 75 6c 64 20 70 72 6f |ou. *.sh|ould pro| |000024b0| 62 61 62 6c 79 20 75 73 | 65 20 6d 65 6d 6d 6f 76 |bably us|e memmov| |000024c0| 65 28 29 20 6f 72 20 62 | 63 6f 70 79 28 29 2e 20 |e() or b|copy(). | |000024d0| 20 49 66 20 6e 65 69 74 | 68 65 72 20 69 73 20 64 | If neit|her is d| |000024e0| 65 66 69 6e 65 64 2c 0d | 20 2a 09 72 6f 6c 6c 20 |efined,.| *.roll | |000024f0| 79 6f 75 72 20 6f 77 6e | 2e 0d 20 2a 2f 0d 23 64 |your own|.. */.#d| |00002500| 65 66 69 6e 65 09 48 41 | 53 5f 4d 45 4d 43 50 59 |efine.HA|S_MEMCPY| |00002510| 09 09 2f 2a 2a 2f 0d 2f | 2a 23 75 6e 64 65 66 09 |../**/./|*#undef.| |00002520| 53 41 46 45 5f 4d 45 4d | 43 50 59 09 09 2f 2a 2a |SAFE_MEM|CPY../**| |00002530| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 4d 45 4d 4d 4f 56 |/../* HA|S_MEMMOV| |00002540| 45 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |E. *.Thi|s symbol| |00002550| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in| |00002560| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the| |00002570| 20 6d 65 6d 6d 6f 76 65 | 20 72 6f 75 74 69 6e 65 | memmove| routine| |00002580| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 0d 20 2a | is avai|lable. *| |00002590| 09 74 6f 20 6d 6f 76 65 | 20 70 6f 74 65 6e 74 69 |.to move| potenti| |000025a0| 61 6c 6c 79 20 6f 76 65 | 72 6c 61 70 70 69 6e 67 |ally ove|rlapping| |000025b0| 20 62 6c 6f 63 6b 73 20 | 6f 66 20 6d 65 6d 6f 72 | blocks |of memor| |000025c0| 79 2e 20 20 4f 74 68 65 | 72 77 69 73 65 20 79 6f |y. Othe|rwise yo| |000025d0| 75 0d 20 2a 09 73 68 6f | 75 6c 64 20 75 73 65 20 |u. *.sho|uld use | |000025e0| 62 63 6f 70 79 28 29 20 | 6f 72 20 72 6f 6c 6c 20 |bcopy() |or roll | |000025f0| 79 6f 75 72 20 6f 77 6e | 2e 0d 20 2a 2f 0d 23 64 |your own|.. */.#d| |00002600| 65 66 69 6e 65 09 48 41 | 53 5f 4d 45 4d 4d 4f 56 |efine.HA|S_MEMMOV| |00002610| 45 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |E../**/.|./* HAS_| |00002620| 4d 45 4d 53 45 54 0d 20 | 2a 09 54 68 69 73 20 73 |MEMSET. |*.This s| |00002630| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00002640| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00002650| 74 20 74 68 65 20 6d 65 | 6d 73 65 74 20 72 6f 75 |t the me|mset rou| |00002660| 74 69 6e 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |tine is |availabl| |00002670| 65 0d 20 2a 09 74 6f 20 | 73 65 74 20 61 20 62 6c |e. *.to |set a bl| |00002680| 6f 63 6b 20 6f 66 20 6d | 65 6d 6f 72 79 20 74 6f |ock of m|emory to| |00002690| 20 61 20 63 68 61 72 61 | 63 74 65 72 2e 20 20 49 | a chara|cter. I| |000026a0| 66 20 75 6e 64 65 66 69 | 6e 65 64 2c 20 72 6f 6c |f undefi|ned, rol| |000026b0| 6c 20 79 6f 75 72 20 6f | 77 6e 2e 0d 20 2a 2f 0d |l your o|wn.. */.| |000026c0| 23 64 65 66 69 6e 65 09 | 48 41 53 5f 4d 45 4d 53 |#define.|HAS_MEMS| |000026d0| 45 54 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |ET../**/|../* HAS| |000026e0| 5f 4d 4b 44 49 52 0d 20 | 2a 09 54 68 69 73 20 73 |_MKDIR. |*.This s| |000026f0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00002700| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00002710| 74 20 74 68 65 20 6d 6b | 64 69 72 20 72 6f 75 74 |t the mk|dir rout| |00002720| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable| |00002730| 0d 20 2a 09 74 6f 20 63 | 72 65 61 74 65 20 64 69 |. *.to c|reate di| |00002740| 72 65 63 74 6f 72 69 65 | 73 2e 20 20 4f 74 68 65 |rectorie|s. Othe| |00002750| 72 77 69 73 65 20 79 6f | 75 20 73 68 6f 75 6c 64 |rwise yo|u should| |00002760| 20 66 6f 72 6b 20 6f 66 | 66 20 61 20 6e 65 77 20 | fork of|f a new | |00002770| 70 72 6f 63 65 73 73 20 | 74 6f 0d 20 2a 09 65 78 |process |to. *.ex| |00002780| 65 63 20 2f 62 69 6e 2f | 6d 6b 64 69 72 2e 0d 20 |ec /bin/|mkdir.. | |00002790| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 48 41 53 5f 4d |*/.#defi|ne.HAS_M| |000027a0| 4b 44 49 52 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |KDIR../*|*/../* H| |000027b0| 41 53 5f 4d 53 47 0d 20 | 2a 09 54 68 69 73 20 73 |AS_MSG. |*.This s| |000027c0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |000027d0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |000027e0| 74 20 74 68 65 20 65 6e | 74 69 72 65 20 6d 73 67 |t the en|tire msg| |000027f0| 2a 28 32 29 20 6c 69 62 | 72 61 72 79 20 69 73 0d |*(2) lib|rary is.| |00002800| 20 2a 09 73 75 70 70 6f | 72 74 65 64 2e 0d 20 2a | *.suppo|rted.. *| |00002810| 2f 0d 23 75 6e 64 65 66 | 09 48 41 53 5f 4d 53 47 |/.#undef|.HAS_MSG| |00002820| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 4d |../**/..|/* HAS_M| |00002830| 53 47 43 54 4c 0d 20 2a | 09 54 68 69 73 20 73 79 |SGCTL. *|.This sy| |00002840| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00002850| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00002860| 20 74 68 65 20 6d 73 67 | 63 74 6c 28 29 20 72 6f | the msg|ctl() ro| |00002870| 75 74 69 6e 65 20 69 73 | 0d 20 2a 09 61 76 61 69 |utine is|. *.avai| |00002880| 6c 61 62 6c 65 20 74 6f | 20 63 6f 6e 74 72 6f 6c |lable to| control| |00002890| 20 6d 65 73 73 61 67 65 | 20 70 61 73 73 69 6e 67 | message| passing| |000028a0| 2e 0d 20 2a 2f 0d 23 75 | 6e 64 65 66 09 48 41 53 |.. */.#u|ndef.HAS| |000028b0| 5f 4d 53 47 43 54 4c 09 | 09 2f 2a 2a 2f 0d 0d 2f |_MSGCTL.|./**/../| |000028c0| 2a 20 48 41 53 5f 4d 53 | 47 47 45 54 0d 20 2a 09 |* HAS_MS|GGET. *.| |000028d0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if | |000028e0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat| |000028f0| 65 73 20 74 68 61 74 20 | 74 68 65 20 6d 73 67 67 |es that |the msgg| |00002900| 65 74 28 29 20 72 6f 75 | 74 69 6e 65 20 69 73 0d |et() rou|tine is.| |00002910| 20 2a 09 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 | *.avail|able to | |00002920| 67 65 74 20 6d 65 73 73 | 61 67 65 73 2e 0d 20 2a |get mess|ages.. *| |00002930| 2f 0d 23 64 65 66 69 6e | 65 09 48 41 53 5f 4d 53 |/.#defin|e.HAS_MS| |00002940| 47 47 45 54 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |GGET../*|*/../* H| |00002950| 41 53 5f 4d 53 47 52 43 | 56 0d 20 2a 09 54 68 69 |AS_MSGRC|V. *.Thi| |00002960| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00002970| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00002980| 74 68 61 74 20 74 68 65 | 20 6d 73 67 72 63 76 28 |that the| msgrcv(| |00002990| 29 20 72 6f 75 74 69 6e | 65 20 69 73 0d 20 2a 09 |) routin|e is. *.| |000029a0| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 72 65 63 |availabl|e to rec| |000029b0| 65 69 76 65 20 6d 65 73 | 73 61 67 65 73 2e 0d 20 |eive mes|sages.. | |000029c0| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 4d 53 |*/.#unde|f.HAS_MS| |000029d0| 47 52 43 56 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |GRCV../*|*/../* H| |000029e0| 41 53 5f 4d 53 47 53 4e | 44 0d 20 2a 09 54 68 69 |AS_MSGSN|D. *.Thi| |000029f0| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00002a00| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00002a10| 74 68 61 74 20 74 68 65 | 20 6d 73 67 73 6e 64 28 |that the| msgsnd(| |00002a20| 29 20 72 6f 75 74 69 6e | 65 20 69 73 0d 20 2a 09 |) routin|e is. *.| |00002a30| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 73 65 6e |availabl|e to sen| |00002a40| 64 20 6d 65 73 73 61 67 | 65 73 2e 0d 20 2a 2f 0d |d messag|es.. */.| |00002a50| 23 75 6e 64 65 66 09 48 | 41 53 5f 4d 53 47 53 4e |#undef.H|AS_MSGSN| |00002a60| 44 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |D../**/.|./* HAS_| |00002a70| 47 44 42 4d 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |GDBM. *.|This sym| |00002a80| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |00002a90| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00002aa0| 67 64 62 6d 2e 68 20 65 | 78 69 73 74 73 20 61 6e |gdbm.h e|xists an| |00002ab0| 64 20 73 68 6f 75 6c 64 | 0d 20 2a 09 62 65 20 69 |d should|. *.be i| |00002ac0| 6e 63 6c 75 64 65 64 2e | 0d 20 2a 2f 0d 23 64 65 |ncluded.|. */.#de| |00002ad0| 66 69 6e 65 09 48 41 53 | 5f 47 44 42 4d 09 09 2f |fine.HAS|_GDBM../| |00002ae0| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 4e 44 42 4d |**/../* |HAS_NDBM| |00002af0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00002b00| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00002b10| 69 63 61 74 65 73 20 74 | 68 61 74 20 6e 64 62 6d |icates t|hat ndbm| |00002b20| 2e 68 20 65 78 69 73 74 | 73 20 61 6e 64 20 73 68 |.h exist|s and sh| |00002b30| 6f 75 6c 64 0d 20 2a 09 | 62 65 20 69 6e 63 6c 75 |ould. *.|be inclu| |00002b40| 64 65 64 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |ded.. */|.#undef.| |00002b50| 48 41 53 5f 4e 44 42 4d | 09 09 2f 2a 2a 2f 0d 0d |HAS_NDBM|../**/..| |00002b60| 2f 2a 20 48 41 53 5f 4f | 44 42 4d 0d 20 2a 09 54 |/* HAS_O|DBM. *.T| |00002b70| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00002b80| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00002b90| 73 20 74 68 61 74 20 64 | 62 6d 2e 68 20 65 78 69 |s that d|bm.h exi| |00002ba0| 73 74 73 20 61 6e 64 20 | 73 68 6f 75 6c 64 0d 20 |sts and |should. | |00002bb0| 2a 09 62 65 20 69 6e 63 | 6c 75 64 65 64 2e 0d 20 |*.be inc|luded.. | |00002bc0| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 4f 44 |*/.#unde|f.HAS_OD| |00002bd0| 42 4d 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |BM../**/|../* HAS| |00002be0| 5f 4f 50 45 4e 33 0d 20 | 2a 09 54 68 69 73 20 6d |_OPEN3. |*.This m| |00002bf0| 61 6e 69 66 65 73 74 20 | 63 6f 6e 73 74 61 6e 74 |anifest |constant| |00002c00| 20 6c 65 74 73 20 74 68 | 65 20 43 20 70 72 6f 67 | lets th|e C prog| |00002c10| 72 61 6d 20 6b 6e 6f 77 | 20 74 68 61 74 20 74 68 |ram know| that th| |00002c20| 65 20 74 68 72 65 65 0d | 20 2a 09 61 72 67 75 6d |e three.| *.argum| |00002c30| 65 6e 74 20 66 6f 72 6d | 20 6f 66 20 6f 70 65 6e |ent form| of open| |00002c40| 28 32 29 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |(2) is a|vailable| |00002c50| 2e 0d 20 2a 2f 0d 23 75 | 6e 64 65 66 09 48 41 53 |.. */.#u|ndef.HAS| |00002c60| 5f 4f 50 45 4e 33 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |_OPEN3..|/**/../*| |00002c70| 20 48 41 53 5f 52 45 41 | 44 44 49 52 0d 20 2a 09 | HAS_REA|DDIR. *.| |00002c80| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if | |00002c90| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat| |00002ca0| 65 73 20 74 68 61 74 20 | 74 68 65 20 72 65 61 64 |es that |the read| |00002cb0| 64 69 72 20 72 6f 75 74 | 69 6e 65 20 69 73 20 61 |dir rout|ine is a| |00002cc0| 76 61 69 6c 61 62 6c 65 | 0d 20 2a 09 66 72 6f 6d |vailable|. *.from| |00002cd0| 20 74 68 65 20 43 20 6c | 69 62 72 61 72 79 20 74 | the C l|ibrary t| |00002ce0| 6f 20 72 65 61 64 20 64 | 69 72 65 63 74 6f 72 69 |o read d|irectori| |00002cf0| 65 73 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 09 |es.. */.|#define.| |00002d00| 48 41 53 5f 52 45 41 44 | 44 49 52 09 09 2f 2a 2a |HAS_READ|DIR../**| |00002d10| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 52 45 4e 41 4d 45 |/../* HA|S_RENAME| |00002d20| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00002d30| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00002d40| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the | |00002d50| 72 65 6e 61 6d 65 20 72 | 6f 75 74 69 6e 65 20 69 |rename r|outine i| |00002d60| 73 20 61 76 61 69 6c 61 | 62 6c 65 0d 20 2a 09 74 |s availa|ble. *.t| |00002d70| 6f 20 72 65 6e 61 6d 65 | 20 66 69 6c 65 73 2e 20 |o rename| files. | |00002d80| 20 4f 74 68 65 72 77 69 | 73 65 20 79 6f 75 20 73 | Otherwi|se you s| |00002d90| 68 6f 75 6c 64 20 64 6f | 20 74 68 65 20 75 6e 6c |hould do| the unl| |00002da0| 69 6e 6b 28 29 2c 20 6c | 69 6e 6b 28 29 2c 20 75 |ink(), l|ink(), u| |00002db0| 6e 6c 69 6e 6b 28 29 0d | 20 2a 09 74 72 69 63 6b |nlink().| *.trick| |00002dc0| 2e 0d 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 48 41 |.. */.#d|efine.HA| |00002dd0| 53 5f 52 45 4e 41 4d 45 | 09 09 2f 2a 2a 2f 0d 0d |S_RENAME|../**/..| |00002de0| 2f 2a 20 48 41 53 5f 52 | 45 57 49 4e 44 44 49 52 |/* HAS_R|EWINDDIR| |00002df0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00002e00| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00002e10| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the | |00002e20| 72 65 77 69 6e 64 69 72 | 20 72 6f 75 74 69 6e 65 |rewindir| routine| |00002e30| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable| |00002e40| 20 74 6f 20 72 65 77 69 | 6e 64 20 64 69 72 65 63 | to rewi|nd direc| |00002e50| 74 6f 72 69 65 73 2e 0d | 20 2a 2f 0d 23 64 65 66 |tories..| */.#def| |00002e60| 69 6e 65 09 48 41 53 5f | 52 45 57 49 4e 44 44 49 |ine.HAS_|REWINDDI| |00002e70| 52 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |R../**/.|./* HAS_| |00002e80| 52 4d 44 49 52 0d 20 2a | 09 54 68 69 73 20 73 79 |RMDIR. *|.This sy| |00002e90| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00002ea0| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00002eb0| 20 74 68 65 20 72 6d 64 | 69 72 20 72 6f 75 74 69 | the rmd|ir routi| |00002ec0| 6e 65 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 0d |ne is av|ailable.| |00002ed0| 20 2a 09 74 6f 20 72 65 | 6d 6f 76 65 20 64 69 72 | *.to re|move dir| |00002ee0| 65 63 74 6f 72 69 65 73 | 2e 20 20 4f 74 68 65 72 |ectories|. Other| |00002ef0| 77 69 73 65 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |wise you| should | |00002f00| 66 6f 72 6b 20 6f 66 66 | 20 61 20 6e 65 77 20 70 |fork off| a new p| |00002f10| 72 6f 63 65 73 73 20 74 | 6f 0d 20 2a 09 65 78 65 |rocess t|o. *.exe| |00002f20| 63 20 2f 62 69 6e 2f 72 | 6d 64 69 72 2e 0d 20 2a |c /bin/r|mdir.. *| |00002f30| 2f 0d 23 64 65 66 69 6e | 65 09 48 41 53 5f 52 4d |/.#defin|e.HAS_RM| |00002f40| 44 49 52 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |DIR../**|/../* HA| |00002f50| 53 5f 53 45 45 4b 44 49 | 52 0d 20 2a 09 54 68 69 |S_SEEKDI|R. *.Thi| |00002f60| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00002f70| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00002f80| 74 68 61 74 20 74 68 65 | 20 73 65 65 6b 64 69 72 |that the| seekdir| |00002f90| 20 72 6f 75 74 69 6e 65 | 20 69 73 0d 20 2a 09 61 | routine| is. *.a| |00002fa0| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 73 65 65 6b |vailable| to seek| |00002fb0| 20 69 6e 74 6f 20 64 69 | 72 65 63 74 6f 72 69 65 | into di|rectorie| |00002fc0| 73 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |s.. */.#|define.H| |00002fd0| 41 53 5f 53 45 45 4b 44 | 49 52 09 09 2f 2a 2a 2f |AS_SEEKD|IR../**/| |00002fe0| 0d 0d 2f 2a 20 48 41 53 | 5f 53 45 4c 45 43 54 0d |../* HAS|_SELECT.| |00002ff0| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, | |00003000| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi| |00003010| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 73 |cates th|at the s| |00003020| 65 6c 65 63 74 28 29 20 | 73 75 62 72 6f 75 74 69 |elect() |subrouti| |00003030| 6e 65 0d 20 2a 09 65 78 | 69 73 74 73 2e 0d 20 2a |ne. *.ex|ists.. *| |00003040| 2f 0d 23 64 65 66 69 6e | 65 09 48 41 53 5f 53 45 |/.#defin|e.HAS_SE| |00003050| 4c 45 43 54 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |LECT./**|/../* HA| |00003060| 53 5f 53 45 4d 0d 20 2a | 09 54 68 69 73 20 73 79 |S_SEM. *|.This sy| |00003070| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00003080| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00003090| 20 74 68 65 20 65 6e 74 | 69 72 65 20 73 65 6d 2a | the ent|ire sem*| |000030a0| 28 32 29 20 6c 69 62 72 | 61 72 79 20 69 73 0d 20 |(2) libr|ary is. | |000030b0| 2a 09 73 75 70 70 6f 72 | 74 65 64 2e 0d 20 2a 2f |*.suppor|ted.. */| |000030c0| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 53 45 4d 09 |.#undef.|HAS_SEM.| |000030d0| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 53 45 |./**/../|* HAS_SE| |000030e0| 4d 43 54 4c 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |MCTL. *.|This sym| |000030f0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |00003100| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00003110| 74 68 65 20 73 65 6d 63 | 74 6c 28 29 20 72 6f 75 |the semc|tl() rou| |00003120| 74 69 6e 65 20 69 73 0d | 20 2a 09 61 76 61 69 6c |tine is.| *.avail| |00003130| 61 62 6c 65 20 74 6f 20 | 63 6f 6e 74 72 6f 6c 20 |able to |control | |00003140| 73 65 6d 61 70 68 6f 72 | 65 73 2e 0d 20 2a 2f 0d |semaphor|es.. */.| |00003150| 23 75 6e 64 65 66 09 48 | 41 53 5f 53 45 4d 43 54 |#undef.H|AS_SEMCT| |00003160| 4c 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |L../**/.|./* HAS_| |00003170| 53 45 4d 47 45 54 0d 20 | 2a 09 54 68 69 73 20 73 |SEMGET. |*.This s| |00003180| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00003190| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |000031a0| 74 20 74 68 65 20 73 65 | 6d 67 65 74 28 29 20 72 |t the se|mget() r| |000031b0| 6f 75 74 69 6e 65 20 69 | 73 0d 20 2a 09 61 76 61 |outine i|s. *.ava| |000031c0| 69 6c 61 62 6c 65 20 74 | 6f 20 67 65 74 20 73 65 |ilable t|o get se| |000031d0| 6d 61 70 68 6f 72 65 73 | 20 69 64 73 2e 0d 20 2a |maphores| ids.. *| |000031e0| 2f 0d 23 75 6e 64 65 66 | 09 48 41 53 5f 53 45 4d |/.#undef|.HAS_SEM| |000031f0| 47 45 54 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |GET../**|/../* HA| |00003200| 53 5f 53 45 4d 4f 50 0d | 20 2a 09 54 68 69 73 20 |S_SEMOP.| *.This | |00003210| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |00003220| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |00003230| 61 74 20 74 68 65 20 73 | 65 6d 6f 70 28 29 20 72 |at the s|emop() r| |00003240| 6f 75 74 69 6e 65 20 69 | 73 0d 20 2a 09 61 76 61 |outine i|s. *.ava| |00003250| 69 6c 61 62 6c 65 20 74 | 6f 20 70 65 72 66 6f 72 |ilable t|o perfor| |00003260| 6d 20 73 65 6d 61 70 68 | 6f 72 65 20 6f 70 65 72 |m semaph|ore oper| |00003270| 61 74 69 6f 6e 73 2e 0d | 20 2a 2f 0d 23 75 6e 64 |ations..| */.#und| |00003280| 65 66 09 48 41 53 5f 53 | 45 4d 4f 50 09 09 2f 2a |ef.HAS_S|EMOP../*| |00003290| 2a 2f 0d 0d 2f 2a 20 48 | 41 53 5f 53 45 54 45 47 |*/../* H|AS_SETEG| |000032a0| 49 44 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |ID. *.Th|is symbo| |000032b0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |000032c0| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |000032d0| 65 20 73 65 74 65 67 69 | 64 20 72 6f 75 74 69 6e |e setegi|d routin| |000032e0| 65 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 0d 20 |e is ava|ilable. | |000032f0| 2a 09 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |*.to cha|nge the | |00003300| 65 66 66 65 63 74 69 76 | 65 20 67 69 64 20 6f 66 |effectiv|e gid of| |00003310| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 70 72 6f | the cur|rent pro| |00003320| 67 72 61 6d 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |gram.. *|/.#undef| |00003330| 09 48 41 53 5f 53 45 54 | 45 47 49 44 09 09 2f 2a |.HAS_SET|EGID../*| |00003340| 2a 2f 0d 0d 2f 2a 20 48 | 41 53 5f 53 45 54 45 55 |*/../* H|AS_SETEU| |00003350| 49 44 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |ID. *.Th|is symbo| |00003360| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |00003370| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |00003380| 65 20 73 65 74 65 75 69 | 64 20 72 6f 75 74 69 6e |e seteui|d routin| |00003390| 65 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 0d 20 |e is ava|ilable. | |000033a0| 2a 09 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |*.to cha|nge the | |000033b0| 65 66 66 65 63 74 69 76 | 65 20 75 69 64 20 6f 66 |effectiv|e uid of| |000033c0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 70 72 6f | the cur|rent pro| |000033d0| 67 72 61 6d 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |gram.. *|/.#undef| |000033e0| 09 48 41 53 5f 53 45 54 | 45 55 49 44 09 09 2f 2a |.HAS_SET|EUID../*| |000033f0| 2a 2f 0d 0d 2f 2a 20 48 | 41 53 5f 53 45 54 50 47 |*/../* H|AS_SETPG| |00003400| 52 50 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |RP. *.Th|is symbo| |00003410| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |00003420| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |00003430| 65 20 73 65 74 70 67 72 | 70 28 29 20 72 6f 75 74 |e setpgr|p() rout| |00003440| 69 6e 65 20 69 73 0d 20 | 2a 09 61 76 61 69 6c 61 |ine is. |*.availa| |00003450| 62 6c 65 20 74 6f 20 73 | 65 74 20 74 68 65 20 63 |ble to s|et the c| |00003460| 75 72 72 65 6e 74 20 70 | 72 6f 63 65 73 73 20 67 |urrent p|rocess g| |00003470| 72 6f 75 70 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |roup.. *|/.#undef| |00003480| 09 48 41 53 5f 53 45 54 | 50 47 52 50 09 09 2f 2a |.HAS_SET|PGRP../*| |00003490| 2a 2f 0d 0d 2f 2a 20 48 | 41 53 5f 53 45 54 50 47 |*/../* H|AS_SETPG| |000034a0| 52 50 32 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |RP2. *.T|his symb| |000034b0| 6f 6c 2c 20 69 66 20 64 | 65 66 69 6e 65 64 2c 20 |ol, if d|efined, | |000034c0| 69 6e 64 69 63 61 74 65 | 73 20 74 68 61 74 20 74 |indicate|s that t| |000034d0| 68 65 20 73 65 74 70 67 | 72 70 32 28 29 20 28 61 |he setpg|rp2() (a| |000034e0| 73 20 69 6e 20 44 47 2f | 55 58 29 0d 20 2a 09 72 |s in DG/|UX). *.r| |000034f0| 6f 75 74 69 6e 65 20 69 | 73 20 61 76 61 69 6c 61 |outine i|s availa| |00003500| 62 6c 65 20 74 6f 20 73 | 65 74 20 74 68 65 20 63 |ble to s|et the c| |00003510| 75 72 72 65 6e 74 20 70 | 72 6f 63 65 73 73 20 67 |urrent p|rocess g| |00003520| 72 6f 75 70 2e 0d 20 2a | 2f 0d 2f 2a 23 75 6e 64 |roup.. *|/./*#und| |00003530| 65 66 09 48 41 53 5f 53 | 45 54 50 47 52 50 32 09 |ef.HAS_S|ETPGRP2.| |00003540| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 53 45 |./**/../|* HAS_SE| |00003550| 54 50 52 49 4f 52 49 54 | 59 0d 20 2a 09 54 68 69 |TPRIORIT|Y. *.Thi| |00003560| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00003570| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00003580| 74 68 61 74 20 74 68 65 | 20 73 65 74 70 72 69 6f |that the| setprio| |00003590| 72 69 74 79 28 29 20 72 | 6f 75 74 69 6e 65 20 69 |rity() r|outine i| |000035a0| 73 0d 20 2a 09 61 76 61 | 69 6c 61 62 6c 65 20 74 |s. *.ava|ilable t| |000035b0| 6f 20 73 65 74 20 61 20 | 70 72 6f 63 65 73 73 27 |o set a |process'| |000035c0| 73 20 70 72 69 6f 72 69 | 74 79 2e 0d 20 2a 2f 0d |s priori|ty.. */.| |000035d0| 23 75 6e 64 65 66 09 48 | 41 53 5f 53 45 54 50 52 |#undef.H|AS_SETPR| |000035e0| 49 4f 52 49 54 59 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |IORITY..|/**/../*| |000035f0| 20 48 41 53 5f 53 45 54 | 52 45 47 49 44 0d 20 2a | HAS_SET|REGID. *| |00003600| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if| |00003610| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica| |00003620| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 73 65 74 |tes that| the set| |00003630| 72 65 67 69 64 20 72 6f | 75 74 69 6e 65 20 69 73 |regid ro|utine is| |00003640| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to| |00003650| 20 63 68 61 6e 67 65 20 | 74 68 65 20 72 65 61 6c | change |the real| |00003660| 20 61 6e 64 20 65 66 66 | 65 63 74 69 76 65 20 67 | and eff|ective g| |00003670| 69 64 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |id of th|e curren| |00003680| 74 20 70 72 6f 67 72 61 | 6d 2e 0d 20 2a 2f 0d 2f |t progra|m.. */./| |00003690| 2a 20 48 41 53 5f 53 45 | 54 52 45 53 47 49 44 0d |* HAS_SE|TRESGID.| |000036a0| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, | |000036b0| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi| |000036c0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 73 |cates th|at the s| |000036d0| 65 74 72 65 73 67 69 64 | 20 72 6f 75 74 69 6e 65 |etresgid| routine| |000036e0| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable| |000036f0| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 72 | to chan|ge the r| |00003700| 65 61 6c 2c 20 65 66 66 | 65 63 74 69 76 65 20 61 |eal, eff|ective a| |00003710| 6e 64 20 73 61 76 65 64 | 20 67 69 64 20 6f 66 20 |nd saved| gid of | |00003720| 74 68 65 20 63 75 72 72 | 65 6e 74 0d 20 2a 09 70 |the curr|ent. *.p| |00003730| 72 6f 67 72 61 6d 2e 0d | 20 2a 2f 0d 23 75 6e 64 |rogram..| */.#und| |00003740| 65 66 09 48 41 53 5f 53 | 45 54 52 45 47 49 44 09 |ef.HAS_S|ETREGID.| |00003750| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 53 45 |./**/../|* HAS_SE| |00003760| 54 52 45 55 49 44 0d 20 | 2a 09 54 68 69 73 20 73 |TREUID. |*.This s| |00003770| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00003780| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00003790| 74 20 74 68 65 20 73 65 | 74 72 65 75 69 64 20 72 |t the se|treuid r| |000037a0| 6f 75 74 69 6e 65 20 69 | 73 0d 20 2a 09 61 76 61 |outine i|s. *.ava| |000037b0| 69 6c 61 62 6c 65 20 74 | 6f 20 63 68 61 6e 67 65 |ilable t|o change| |000037c0| 20 74 68 65 20 72 65 61 | 6c 20 61 6e 64 20 65 66 | the rea|l and ef| |000037d0| 66 65 63 74 69 76 65 20 | 75 69 64 20 6f 66 20 74 |fective |uid of t| |000037e0| 68 65 20 63 75 72 72 65 | 6e 74 20 70 72 6f 67 72 |he curre|nt progr| |000037f0| 61 6d 2e 0d 20 2a 2f 0d | 2f 2a 20 48 41 53 5f 53 |am.. */.|/* HAS_S| |00003800| 45 54 52 45 53 55 49 44 | 0d 20 2a 09 54 68 69 73 |ETRESUID|. *.This| |00003810| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |00003820| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |00003830| 68 61 74 20 74 68 65 20 | 73 65 74 72 65 73 75 69 |hat the |setresui| |00003840| 64 20 72 6f 75 74 69 6e | 65 20 69 73 0d 20 2a 09 |d routin|e is. *.| |00003850| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 63 68 61 |availabl|e to cha| |00003860| 6e 67 65 20 74 68 65 20 | 72 65 61 6c 2c 20 65 66 |nge the |real, ef| |00003870| 66 65 63 74 69 76 65 20 | 61 6e 64 20 73 61 76 65 |fective |and save| |00003880| 64 20 75 69 64 20 6f 66 | 20 74 68 65 20 63 75 72 |d uid of| the cur| |00003890| 72 65 6e 74 0d 20 2a 09 | 70 72 6f 67 72 61 6d 2e |rent. *.|program.| |000038a0| 0d 20 2a 2f 0d 23 75 6e | 64 65 66 09 48 41 53 5f |. */.#un|def.HAS_| |000038b0| 53 45 54 52 45 55 49 44 | 09 09 2f 2a 2a 2f 0d 0d |SETREUID|../**/..| |000038c0| 2f 2a 20 48 41 53 5f 53 | 45 54 52 47 49 44 0d 20 |/* HAS_S|ETRGID. | |000038d0| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |000038e0| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |000038f0| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 73 65 |ates tha|t the se| |00003900| 74 72 67 69 64 20 72 6f | 75 74 69 6e 65 20 69 73 |trgid ro|utine is| |00003910| 20 61 76 61 69 6c 61 62 | 6c 65 0d 20 2a 09 74 6f | availab|le. *.to| |00003920| 20 63 68 61 6e 67 65 20 | 74 68 65 20 72 65 61 6c | change |the real| |00003930| 20 67 69 64 20 6f 66 20 | 74 68 65 20 63 75 72 72 | gid of |the curr| |00003940| 65 6e 74 20 70 72 6f 67 | 72 61 6d 2e 0d 20 2a 2f |ent prog|ram.. */| |00003950| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 53 45 54 52 |.#undef.|HAS_SETR| |00003960| 47 49 44 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |GID../**|/../* HA| |00003970| 53 5f 53 45 54 52 55 49 | 44 0d 20 2a 09 54 68 69 |S_SETRUI|D. *.Thi| |00003980| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00003990| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |000039a0| 74 68 61 74 20 74 68 65 | 20 73 65 74 72 75 69 64 |that the| setruid| |000039b0| 20 72 6f 75 74 69 6e 65 | 20 69 73 20 61 76 61 69 | routine| is avai| |000039c0| 6c 61 62 6c 65 0d 20 2a | 09 74 6f 20 63 68 61 6e |lable. *|.to chan| |000039d0| 67 65 20 74 68 65 20 72 | 65 61 6c 20 75 69 64 20 |ge the r|eal uid | |000039e0| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 70 |of the c|urrent p| |000039f0| 72 6f 67 72 61 6d 2e 0d | 20 2a 2f 0d 23 75 6e 64 |rogram..| */.#und| |00003a00| 65 66 09 48 41 53 5f 53 | 45 54 52 55 49 44 09 09 |ef.HAS_S|ETRUID..| |00003a10| 2f 2a 2a 2f 0d 0d 2f 2a | 20 48 41 53 5f 53 48 4d |/**/../*| HAS_SHM| |00003a20| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00003a30| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00003a40| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the | |00003a50| 65 6e 74 69 72 65 20 73 | 68 6d 2a 28 32 29 20 6c |entire s|hm*(2) l| |00003a60| 69 62 72 61 72 79 20 69 | 73 0d 20 2a 09 73 75 70 |ibrary i|s. *.sup| |00003a70| 70 6f 72 74 65 64 2e 0d | 20 2a 2f 0d 23 75 6e 64 |ported..| */.#und| |00003a80| 65 66 09 48 41 53 5f 53 | 48 4d 09 09 2f 2a 2a 2f |ef.HAS_S|HM../**/| |00003a90| 0d 0d 2f 2a 20 48 41 53 | 5f 53 48 4d 41 54 0d 20 |../* HAS|_SHMAT. | |00003aa0| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |00003ab0| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |00003ac0| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 73 68 |ates tha|t the sh| |00003ad0| 6d 61 74 28 29 20 72 6f | 75 74 69 6e 65 20 69 73 |mat() ro|utine is| |00003ae0| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to| |00003af0| 20 61 74 74 61 63 68 20 | 61 20 73 68 61 72 65 64 | attach |a shared| |00003b00| 20 6d 65 6d 6f 72 79 20 | 73 65 67 6d 65 6e 74 2e | memory |segment.| |00003b10| 0d 20 2a 2f 0d 23 75 6e | 64 65 66 09 48 41 53 5f |. */.#un|def.HAS_| |00003b20| 53 48 4d 41 54 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |SHMAT../|**/../* | |00003b30| 48 41 53 5f 53 48 4d 43 | 54 4c 0d 20 2a 09 54 68 |HAS_SHMC|TL. *.Th| |00003b40| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de| |00003b50| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates| |00003b60| 20 74 68 61 74 20 74 68 | 65 20 73 68 6d 63 74 6c | that th|e shmctl| |00003b70| 28 29 20 72 6f 75 74 69 | 6e 65 20 69 73 0d 20 2a |() routi|ne is. *| |00003b80| 09 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 63 6f |.availab|le to co| |00003b90| 6e 74 72 6f 6c 20 61 20 | 73 68 61 72 65 64 20 6d |ntrol a |shared m| |00003ba0| 65 6d 6f 72 79 20 73 65 | 67 6d 65 6e 74 2e 0d 20 |emory se|gment.. | |00003bb0| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 48 |*/.#unde|f.HAS_SH| |00003bc0| 4d 43 54 4c 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |MCTL../*|*/../* H| |00003bd0| 41 53 5f 53 48 4d 44 54 | 0d 20 2a 09 54 68 69 73 |AS_SHMDT|. *.This| |00003be0| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi| |00003bf0| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t| |00003c00| 68 61 74 20 74 68 65 20 | 73 68 6d 64 74 28 29 20 |hat the |shmdt() | |00003c10| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av| |00003c20| 61 69 6c 61 62 6c 65 20 | 74 6f 20 64 65 74 61 63 |ailable |to detac| |00003c30| 68 20 61 20 73 68 61 72 | 65 64 20 6d 65 6d 6f 72 |h a shar|ed memor| |00003c40| 79 20 73 65 67 6d 65 6e | 74 2e 0d 20 2a 2f 0d 23 |y segmen|t.. */.#| |00003c50| 75 6e 64 65 66 09 48 41 | 53 5f 53 48 4d 44 54 09 |undef.HA|S_SHMDT.| |00003c60| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 53 48 |./**/../|* HAS_SH| |00003c70| 4d 47 45 54 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |MGET. *.|This sym| |00003c80| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |00003c90| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00003ca0| 74 68 65 20 73 68 6d 67 | 65 74 28 29 20 72 6f 75 |the shmg|et() rou| |00003cb0| 74 69 6e 65 20 69 73 0d | 20 2a 09 61 76 61 69 6c |tine is.| *.avail| |00003cc0| 61 62 6c 65 20 74 6f 20 | 67 65 74 20 61 20 73 68 |able to |get a sh| |00003cd0| 61 72 65 64 20 6d 65 6d | 6f 72 79 20 73 65 67 6d |ared mem|ory segm| |00003ce0| 65 6e 74 20 69 64 2e 0d | 20 2a 2f 0d 23 75 6e 64 |ent id..| */.#und| |00003cf0| 65 66 09 48 41 53 5f 53 | 48 4d 47 45 54 09 09 2f |ef.HAS_S|HMGET../| |00003d00| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 53 4f 43 4b |**/../* |HAS_SOCK| |00003d10| 45 54 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |ET. *.Th|is symbo| |00003d20| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |00003d30| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |00003d40| 65 20 42 53 44 20 73 6f | 63 6b 65 74 20 69 6e 74 |e BSD so|cket int| |00003d50| 65 72 66 61 63 65 20 69 | 73 0d 20 2a 09 73 75 70 |erface i|s. *.sup| |00003d60| 70 6f 72 74 65 64 2e 0d | 20 2a 2f 0d 2f 2a 20 48 |ported..| */./* H| |00003d70| 41 53 5f 53 4f 43 4b 45 | 54 50 41 49 52 0d 20 2a |AS_SOCKE|TPAIR. *| |00003d80| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if| |00003d90| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica| |00003da0| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 42 53 44 |tes that| the BSD| |00003db0| 20 73 6f 63 6b 65 74 70 | 61 69 72 20 63 61 6c 6c | socketp|air call| |00003dc0| 20 69 73 0d 20 2a 09 73 | 75 70 70 6f 72 74 65 64 | is. *.s|upported| |00003dd0| 2e 0d 20 2a 2f 0d 2f 2a | 20 4f 4c 44 53 4f 43 4b |.. */./*| OLDSOCK| |00003de0| 45 54 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |ET. *.Th|is symbo| |00003df0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |00003e00| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th| |00003e10| 65 20 34 2e 31 63 20 42 | 53 44 20 73 6f 63 6b 65 |e 4.1c B|SD socke| |00003e20| 74 20 69 6e 74 65 72 66 | 61 63 65 0d 20 2a 09 69 |t interf|ace. *.i| |00003e30| 73 20 73 75 70 70 6f 72 | 74 65 64 20 69 6e 73 74 |s suppor|ted inst| |00003e40| 65 61 64 20 6f 66 20 74 | 68 65 20 34 2e 32 2f 34 |ead of t|he 4.2/4| |00003e50| 2e 33 20 42 53 44 20 73 | 6f 63 6b 65 74 20 69 6e |.3 BSD s|ocket in| |00003e60| 74 65 72 66 61 63 65 2e | 0d 20 2a 2f 0d 23 64 65 |terface.|. */.#de| |00003e70| 66 69 6e 65 09 48 41 53 | 5f 53 4f 43 4b 45 54 09 |fine.HAS|_SOCKET.| |00003e80| 09 2f 2a 2a 2f 0d 0d 23 | 75 6e 64 65 66 09 48 41 |./**/..#|undef.HA| |00003e90| 53 5f 53 4f 43 4b 45 54 | 50 41 49 52 09 2f 2a 2a |S_SOCKET|PAIR./**| |00003ea0| 2f 0d 0d 23 75 6e 64 65 | 66 09 4f 4c 44 53 4f 43 |/..#unde|f.OLDSOC| |00003eb0| 4b 45 54 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 53 54 41 |KET./**/|../* STA| |00003ec0| 54 42 4c 4f 43 4b 53 0d | 20 2a 09 54 68 69 73 20 |TBLOCKS.| *.This | |00003ed0| 73 79 6d 62 6f 6c 20 69 | 73 20 64 65 66 69 6e 65 |symbol i|s define| |00003ee0| 64 20 69 66 20 74 68 69 | 73 20 73 79 73 74 65 6d |d if thi|s system| |00003ef0| 20 68 61 73 20 61 20 73 | 74 61 74 20 73 74 72 75 | has a s|tat stru| |00003f00| 63 74 75 72 65 20 64 65 | 63 6c 61 72 69 6e 67 0d |cture de|claring.| |00003f10| 20 2a 09 73 74 5f 62 6c | 6b 73 69 7a 65 20 61 6e | *.st_bl|ksize an| |00003f20| 64 20 73 74 5f 62 6c 6f | 63 6b 73 2e 0d 20 2a 2f |d st_blo|cks.. */| |00003f30| 0d 23 64 65 66 69 6e 65 | 09 53 54 41 54 42 4c 4f |.#define|.STATBLO| |00003f40| 43 4b 53 20 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 53 54 |CKS ./**|/../* ST| |00003f50| 44 53 54 44 49 4f 0d 20 | 2a 09 54 68 69 73 20 73 |DSTDIO. |*.This s| |00003f60| 79 6d 62 6f 6c 20 69 73 | 20 64 65 66 69 6e 65 64 |ymbol is| defined| |00003f70| 20 69 66 20 74 68 69 73 | 20 73 79 73 74 65 6d 20 | if this| system | |00003f80| 68 61 73 20 61 20 46 49 | 4c 45 20 73 74 72 75 63 |has a FI|LE struc| |00003f90| 74 75 72 65 20 64 65 63 | 6c 61 72 69 6e 67 0d 20 |ture dec|laring. | |00003fa0| 2a 09 5f 70 74 72 20 61 | 6e 64 20 5f 63 6e 74 20 |*._ptr a|nd _cnt | |00003fb0| 69 6e 20 73 74 64 69 6f | 2e 68 2e 0d 20 2a 2f 0d |in stdio|.h.. */.| |00003fc0| 23 64 65 66 69 6e 65 09 | 53 54 44 53 54 44 49 4f |#define.|STDSTDIO| |00003fd0| 20 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 53 54 52 55 43 | ./**/..|/* STRUC| |00003fe0| 54 43 4f 50 59 0d 20 2a | 09 54 68 69 73 20 73 79 |TCOPY. *|.This sy| |00003ff0| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00004000| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that| |00004010| 20 74 68 69 73 20 43 20 | 63 6f 6d 70 69 6c 65 72 | this C |compiler| |00004020| 20 6b 6e 6f 77 73 20 68 | 6f 77 0d 20 2a 09 74 6f | knows h|ow. *.to| |00004030| 20 63 6f 70 79 20 73 74 | 72 75 63 74 75 72 65 73 | copy st|ructures| |00004040| 2e 20 20 49 66 20 75 6e | 64 65 66 69 6e 65 64 2c |. If un|defined,| |00004050| 20 79 6f 75 27 6c 6c 20 | 6e 65 65 64 20 74 6f 20 | you'll |need to | |00004060| 75 73 65 20 61 20 62 6c | 6f 63 6b 20 63 6f 70 79 |use a bl|ock copy| |00004070| 0d 20 2a 09 72 6f 75 74 | 69 6e 65 20 6f 66 20 73 |. *.rout|ine of s| |00004080| 6f 6d 65 20 73 6f 72 74 | 20 69 6e 73 74 65 61 64 |ome sort| instead| |00004090| 2e 0d 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 53 54 |.. */.#d|efine.ST| |000040a0| 52 55 43 54 43 4f 50 59 | 09 2f 2a 2a 2f 0d 0d 2f |RUCTCOPY|./**/../| |000040b0| 2a 20 48 41 53 5f 53 54 | 52 45 52 52 4f 52 0d 20 |* HAS_ST|RERROR. | |000040c0| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |000040d0| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |000040e0| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 73 74 |ates tha|t the st| |000040f0| 72 65 72 72 6f 72 28 29 | 20 72 6f 75 74 69 6e 65 |rerror()| routine| |00004100| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable| |00004110| 20 74 6f 20 74 72 61 6e | 73 6c 61 74 65 20 65 72 | to tran|slate er| |00004120| 72 6f 72 20 6e 75 6d 62 | 65 72 73 20 74 6f 20 73 |ror numb|ers to s| |00004130| 74 72 69 6e 67 73 2e 0d | 20 2a 2f 0d 23 64 65 66 |trings..| */.#def| |00004140| 69 6e 65 09 48 41 53 5f | 53 54 52 45 52 52 4f 52 |ine.HAS_|STRERROR| |00004150| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 53 |../**/..|/* HAS_S| |00004160| 59 4d 4c 49 4e 4b 0d 20 | 2a 09 54 68 69 73 20 73 |YMLINK. |*.This s| |00004170| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |00004180| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |00004190| 74 20 74 68 65 20 73 79 | 6d 6c 69 6e 6b 20 72 6f |t the sy|mlink ro| |000041a0| 75 74 69 6e 65 20 69 73 | 20 61 76 61 69 6c 61 62 |utine is| availab| |000041b0| 6c 65 0d 20 2a 09 74 6f | 20 63 72 65 61 74 65 20 |le. *.to| create | |000041c0| 73 79 6d 62 6f 6c 69 63 | 20 6c 69 6e 6b 73 2e 0d |symbolic| links..| |000041d0| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 48 41 53 5f | */.#def|ine.HAS_| |000041e0| 53 59 4d 4c 49 4e 4b 09 | 09 2f 2a 2a 2f 0d 0d 2f |SYMLINK.|./**/../| |000041f0| 2a 20 48 41 53 5f 53 59 | 53 43 41 4c 4c 0d 20 2a |* HAS_SY|SCALL. *| |00004200| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if| |00004210| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica| |00004220| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 73 79 73 |tes that| the sys| |00004230| 63 61 6c 6c 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |call rou|tine is | |00004240| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to | |00004250| 63 61 6c 6c 20 61 72 62 | 69 74 72 61 72 79 20 73 |call arb|itrary s| |00004260| 79 73 74 65 6d 20 63 61 | 6c 6c 73 2e 20 20 49 66 |ystem ca|lls. If| |00004270| 20 75 6e 64 65 66 69 6e | 65 64 2c 20 74 68 61 74 | undefin|ed, that| |00004280| 27 73 20 74 6f 75 67 68 | 2e 0d 20 2a 2f 0d 23 75 |'s tough|.. */.#u| |00004290| 6e 64 65 66 09 48 41 53 | 5f 53 59 53 43 41 4c 4c |ndef.HAS|_SYSCALL| |000042a0| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 54 |../**/..|/* HAS_T| |000042b0| 45 4c 4c 44 49 52 0d 20 | 2a 09 54 68 69 73 20 73 |ELLDIR. |*.This s| |000042c0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define| |000042d0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha| |000042e0| 74 20 74 68 65 20 74 65 | 6c 6c 64 69 72 20 72 6f |t the te|lldir ro| |000042f0| 75 74 69 6e 65 20 69 73 | 0d 20 2a 09 61 76 61 69 |utine is|. *.avai| |00004300| 6c 61 62 6c 65 20 74 6f | 20 74 65 6c 6c 20 79 6f |lable to| tell yo| |00004310| 75 72 20 6c 6f 63 61 74 | 69 6f 6e 20 69 6e 20 64 |ur locat|ion in d| |00004320| 69 72 65 63 74 6f 72 69 | 65 73 2e 0d 20 2a 2f 0d |irectori|es.. */.| |00004330| 23 64 65 66 69 6e 65 09 | 48 41 53 5f 54 45 4c 4c |#define.|HAS_TELL| |00004340| 44 49 52 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |DIR../**|/../* HA| |00004350| 53 5f 54 52 55 4e 43 41 | 54 45 0d 20 2a 09 54 68 |S_TRUNCA|TE. *.Th| |00004360| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de| |00004370| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates| |00004380| 20 74 68 61 74 20 74 68 | 65 20 74 72 75 6e 63 61 | that th|e trunca| |00004390| 74 65 20 72 6f 75 74 69 | 6e 65 20 69 73 0d 20 2a |te routi|ne is. *| |000043a0| 09 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 74 72 |.availab|le to tr| |000043b0| 75 6e 63 61 74 65 20 66 | 69 6c 65 73 2e 0d 20 2a |uncate f|iles.. *| |000043c0| 2f 0d 23 75 6e 64 65 66 | 09 48 41 53 5f 54 52 55 |/.#undef|.HAS_TRU| |000043d0| 4e 43 41 54 45 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |NCATE../|**/../* | |000043e0| 48 41 53 5f 56 46 4f 52 | 4b 0d 20 2a 09 54 68 69 |HAS_VFOR|K. *.Thi| |000043f0| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00004400| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00004410| 74 68 61 74 20 76 66 6f | 72 6b 28 29 20 65 78 69 |that vfo|rk() exi| |00004420| 73 74 73 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |sts.. */|.#undef.| |00004430| 48 41 53 5f 56 46 4f 52 | 4b 09 2f 2a 2a 2f 0d 0d |HAS_VFOR|K./**/..| |00004440| 2f 2a 20 56 4f 49 44 53 | 49 47 0d 20 2a 09 54 68 |/* VOIDS|IG. *.Th| |00004450| 69 73 20 73 79 6d 62 6f | 6c 20 69 73 20 64 65 66 |is symbo|l is def| |00004460| 69 6e 65 64 20 69 66 20 | 74 68 69 73 20 73 79 73 |ined if |this sys| |00004470| 74 65 6d 20 64 65 63 6c | 61 72 65 73 20 22 76 6f |tem decl|ares "vo| |00004480| 69 64 20 28 2a 73 69 67 | 6e 61 6c 28 29 29 28 29 |id (*sig|nal())()| |00004490| 22 20 69 6e 0d 20 2a 09 | 73 69 67 6e 61 6c 2e 68 |" in. *.|signal.h| |000044a0| 2e 20 20 54 68 65 20 6f | 6c 64 20 77 61 79 20 77 |. The o|ld way w| |000044b0| 61 73 20 74 6f 20 64 65 | 63 6c 61 72 65 20 69 74 |as to de|clare it| |000044c0| 20 61 73 20 22 69 6e 74 | 20 28 2a 73 69 67 6e 61 | as "int| (*signa| |000044d0| 6c 28 29 29 28 29 22 2e | 20 20 49 74 0d 20 2a 09 |l())()".| It. *.| |000044e0| 69 73 20 75 70 20 74 6f | 20 74 68 65 20 70 61 63 |is up to| the pac| |000044f0| 6b 61 67 65 20 61 75 74 | 68 6f 72 20 74 6f 20 64 |kage aut|hor to d| |00004500| 65 63 6c 61 72 65 20 74 | 68 69 6e 67 73 20 63 6f |eclare t|hings co| |00004510| 72 72 65 63 74 6c 79 20 | 62 61 73 65 64 20 6f 6e |rrectly |based on| |00004520| 20 74 68 65 0d 20 2a 09 | 73 79 6d 62 6f 6c 2e 0d | the. *.|symbol..| |00004530| 20 2a 2f 0d 2f 2a 20 54 | 4f 5f 53 49 47 4e 41 4c | */./* T|O_SIGNAL| |00004540| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 27 |. *.This| symbol'| |00004550| 73 20 76 61 6c 75 65 20 | 69 73 20 65 69 74 68 65 |s value |is eithe| |00004560| 72 20 22 76 6f 69 64 22 | 20 6f 72 20 22 69 6e 74 |r "void"| or "int| |00004570| 22 2c 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |", corre|sponding| |00004580| 20 74 6f 20 74 68 65 0d | 20 2a 09 61 70 70 72 6f | to the.| *.appro| |00004590| 70 72 69 61 74 65 20 72 | 65 74 75 72 6e 20 22 74 |priate r|eturn "t| |000045a0| 79 70 65 22 20 6f 66 20 | 61 20 73 69 67 6e 61 6c |ype" of |a signal| |000045b0| 20 68 61 6e 64 6c 65 72 | 2e 20 20 54 68 75 73 2c | handler|. Thus,| |000045c0| 20 6f 6e 65 20 63 61 6e | 20 64 65 63 6c 61 72 65 | one can| declare| |000045d0| 0d 20 2a 09 61 20 73 69 | 67 6e 61 6c 20 68 61 6e |. *.a si|gnal han| |000045e0| 64 6c 65 72 20 75 73 69 | 6e 67 20 22 54 4f 5f 53 |dler usi|ng "TO_S| |000045f0| 49 47 4e 41 4c 20 28 2a | 68 61 6e 64 6c 65 72 28 |IGNAL (*|handler(| |00004600| 29 29 28 29 22 2c 20 61 | 6e 64 20 64 65 66 69 6e |))()", a|nd defin| |00004610| 65 20 74 68 65 0d 20 2a | 09 68 61 6e 64 6c 65 72 |e the. *|.handler| |00004620| 20 75 73 69 6e 67 20 22 | 54 4f 5f 53 49 47 4e 41 | using "|TO_SIGNA| |00004630| 4c 20 68 61 6e 64 6c 65 | 72 28 73 69 67 29 22 2e |L handle|r(sig)".| |00004640| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 56 4f 49 |. */.#de|fine.VOI| |00004650| 44 53 49 47 20 09 2f 2a | 2a 2f 0d 23 64 65 66 69 |DSIG ./*|*/.#defi| |00004660| 6e 65 09 54 4f 5f 53 49 | 47 4e 41 4c 09 20 76 6f |ne.TO_SI|GNAL. vo| |00004670| 69 64 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 56 |id./**/.|./* HASV| |00004680| 4f 4c 41 54 49 4c 45 0d | 20 2a 09 54 68 69 73 20 |OLATILE.| *.This | |00004690| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |000046a0| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |000046b0| 61 74 20 74 68 69 73 20 | 43 20 63 6f 6d 70 69 6c |at this |C compil| |000046c0| 65 72 20 6b 6e 6f 77 73 | 20 61 62 6f 75 74 0d 20 |er knows| about. | |000046d0| 2a 09 74 68 65 20 76 6f | 6c 61 74 69 6c 65 20 64 |*.the vo|latile d| |000046e0| 65 63 6c 61 72 61 74 69 | 6f 6e 2e 0d 20 2a 2f 0d |eclarati|on.. */.| |000046f0| 23 75 6e 64 65 66 09 48 | 41 53 56 4f 4c 41 54 49 |#undef.H|ASVOLATI| |00004700| 4c 45 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |LE./**/.|./* HAS_| |00004710| 56 50 52 49 4e 54 46 0d | 20 2a 09 54 68 69 73 20 |VPRINTF.| *.This | |00004720| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |00004730| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |00004740| 61 74 20 74 68 65 20 76 | 70 72 69 6e 74 66 20 72 |at the v|printf r| |00004750| 6f 75 74 69 6e 65 20 69 | 73 20 61 76 61 69 6c 61 |outine i|s availa| |00004760| 62 6c 65 0d 20 2a 09 74 | 6f 20 70 72 69 6e 74 66 |ble. *.t|o printf| |00004770| 20 77 69 74 68 20 61 20 | 70 6f 69 6e 74 65 72 20 | with a |pointer | |00004780| 74 6f 20 61 6e 20 61 72 | 67 75 6d 65 6e 74 20 6c |to an ar|gument l| |00004790| 69 73 74 2e 20 20 49 66 | 20 75 6e 61 76 61 69 6c |ist. If| unavail| |000047a0| 61 62 6c 65 2c 20 79 6f | 75 0d 20 2a 09 6d 61 79 |able, yo|u. *.may| |000047b0| 20 6e 65 65 64 20 74 6f | 20 77 72 69 74 65 20 79 | need to| write y| |000047c0| 6f 75 72 20 6f 77 6e 2c | 20 70 72 6f 62 61 62 6c |our own,| probabl| |000047d0| 79 20 69 6e 20 74 65 72 | 6d 73 20 6f 66 20 5f 64 |y in ter|ms of _d| |000047e0| 6f 70 72 6e 74 28 29 2e | 0d 20 2a 2f 0d 2f 2a 20 |oprnt().|. */./* | |000047f0| 43 48 41 52 56 53 50 52 | 49 4e 54 46 0d 20 2a 09 |CHARVSPR|INTF. *.| |00004800| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 69 73 20 64 |This sym|bol is d| |00004810| 65 66 69 6e 65 64 20 69 | 66 20 74 68 69 73 20 73 |efined i|f this s| |00004820| 79 73 74 65 6d 20 68 61 | 73 20 76 73 70 72 69 6e |ystem ha|s vsprin| |00004830| 74 66 28 29 20 72 65 74 | 75 72 6e 69 6e 67 20 74 |tf() ret|urning t| |00004840| 79 70 65 0d 20 2a 09 28 | 63 68 61 72 2a 29 2e 20 |ype. *.(|char*). | |00004850| 20 54 68 65 20 74 72 65 | 6e 64 20 73 65 65 6d 73 | The tre|nd seems| |00004860| 20 74 6f 20 62 65 20 74 | 6f 20 64 65 63 6c 61 72 | to be t|o declar| |00004870| 65 20 69 74 20 61 73 20 | 22 69 6e 74 20 76 73 70 |e it as |"int vsp| |00004880| 72 69 6e 74 66 28 29 22 | 2e 20 20 49 74 0d 20 2a |rintf()"|. It. *| |00004890| 09 69 73 20 75 70 20 74 | 6f 20 74 68 65 20 70 61 |.is up t|o the pa| |000048a0| 63 6b 61 67 65 20 61 75 | 74 68 6f 72 20 74 6f 20 |ckage au|thor to | |000048b0| 64 65 63 6c 61 72 65 20 | 76 73 70 72 69 6e 74 66 |declare |vsprintf| |000048c0| 20 63 6f 72 72 65 63 74 | 6c 79 20 62 61 73 65 64 | correct|ly based| |000048d0| 20 6f 6e 20 74 68 65 0d | 20 2a 09 73 79 6d 62 6f | on the.| *.symbo| |000048e0| 6c 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |l.. */.#|define.H| |000048f0| 41 53 5f 56 50 52 49 4e | 54 46 09 2f 2a 2a 2f 0d |AS_VPRIN|TF./**/.| |00004900| 2f 2a 23 75 6e 64 65 66 | 09 43 48 41 52 56 53 50 |/*#undef|.CHARVSP| |00004910| 52 49 4e 54 46 20 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |RINTF ./|**/../* | |00004920| 48 41 53 5f 57 41 49 54 | 34 0d 20 2a 09 54 68 69 |HAS_WAIT|4. *.Thi| |00004930| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00004940| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00004950| 74 68 61 74 20 77 61 69 | 74 34 28 29 20 65 78 69 |that wai|t4() exi| |00004960| 73 74 73 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |sts.. */|.#undef.| |00004970| 48 41 53 5f 57 41 49 54 | 34 09 2f 2a 2a 2f 0d 0d |HAS_WAIT|4./**/..| |00004980| 2f 2a 20 48 41 53 5f 57 | 41 49 54 50 49 44 0d 20 |/* HAS_W|AITPID. | |00004990| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |000049a0| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |000049b0| 61 74 65 73 20 74 68 61 | 74 20 77 61 69 74 70 69 |ates tha|t waitpi| |000049c0| 64 28 29 20 65 78 69 73 | 74 73 2e 0d 20 2a 2f 0d |d() exis|ts.. */.| |000049d0| 23 75 6e 64 65 66 09 48 | 41 53 5f 57 41 49 54 50 |#undef.H|AS_WAITP| |000049e0| 49 44 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 47 49 44 54 |ID./**/.|./* GIDT| |000049f0| 59 50 45 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |YPE. *.T|his symb| |00004a00| 6f 6c 20 68 61 73 20 61 | 20 76 61 6c 75 65 20 6c |ol has a| value l| |00004a10| 69 6b 65 20 67 69 64 5f | 74 2c 20 69 6e 74 2c 20 |ike gid_|t, int, | |00004a20| 75 73 68 6f 72 74 2c 20 | 6f 72 20 77 68 61 74 65 |ushort, |or whate| |00004a30| 76 65 72 20 74 79 70 65 | 20 69 73 0d 20 2a 09 75 |ver type| is. *.u| |00004a40| 73 65 64 20 74 6f 20 64 | 65 63 6c 61 72 65 20 67 |sed to d|eclare g| |00004a50| 72 6f 75 70 20 69 64 73 | 20 69 6e 20 74 68 65 20 |roup ids| in the | |00004a60| 6b 65 72 6e 65 6c 2e 0d | 20 2a 2f 0d 23 64 65 66 |kernel..| */.#def| |00004a70| 69 6e 65 20 47 49 44 54 | 59 50 45 20 69 6e 74 09 |ine GIDT|YPE int.| |00004a80| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 49 5f 46 43 4e 54 |./**/../|* I_FCNT| |00004a90| 4c 0d 20 2a 09 54 68 69 | 73 20 6d 61 6e 69 66 65 |L. *.Thi|s manife| |00004aa0| 73 74 20 63 6f 6e 73 74 | 61 6e 74 20 74 65 6c 6c |st const|ant tell| |00004ab0| 73 20 74 68 65 20 43 20 | 70 72 6f 67 72 61 6d 20 |s the C |program | |00004ac0| 74 6f 20 69 6e 63 6c 75 | 64 65 20 3c 66 63 6e 74 |to inclu|de <fcnt| |00004ad0| 6c 2e 68 3e 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |l.h>.. *|/.#defin| |00004ae0| 65 09 49 5f 46 43 4e 54 | 4c 09 2f 2a 2a 2f 0d 0d |e.I_FCNT|L./**/..| |00004af0| 2f 2a 20 49 5f 47 44 42 | 4d 0d 20 2a 09 54 68 69 |/* I_GDB|M. *.Thi| |00004b00| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00004b10| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00004b20| 74 68 61 74 20 67 64 62 | 6d 2e 68 20 65 78 69 73 |that gdb|m.h exis| |00004b30| 74 73 20 61 6e 64 20 73 | 68 6f 75 6c 64 0d 20 2a |ts and s|hould. *| |00004b40| 09 62 65 20 69 6e 63 6c | 75 64 65 64 2e 0d 20 2a |.be incl|uded.. *| |00004b50| 2f 0d 23 64 65 66 69 6e | 65 09 49 5f 47 44 42 4d |/.#defin|e.I_GDBM| |00004b60| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 49 5f 47 52 50 |../**/..|/* I_GRP| |00004b70| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00004b80| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00004b90| 69 63 61 74 65 73 20 74 | 6f 20 74 68 65 20 43 20 |icates t|o the C | |00004ba0| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 69 74 20 |program |that it | |00004bb0| 73 68 6f 75 6c 64 0d 20 | 2a 09 69 6e 63 6c 75 64 |should. |*.includ| |00004bc0| 65 20 67 72 70 2e 68 2e | 0d 20 2a 2f 0d 23 75 6e |e grp.h.|. */.#un| |00004bd0| 64 65 66 09 49 5f 47 52 | 50 09 09 2f 2a 2a 2f 0d |def.I_GR|P../**/.| |00004be0| 0d 2f 2a 20 49 5f 4e 45 | 54 49 4e 45 54 5f 49 4e |./* I_NE|TINET_IN| |00004bf0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00004c00| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00004c10| 69 63 61 74 65 73 20 74 | 6f 20 74 68 65 20 43 20 |icates t|o the C | |00004c20| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 69 74 20 |program |that it | |00004c30| 73 68 6f 75 6c 64 0d 20 | 2a 09 69 6e 63 6c 75 64 |should. |*.includ| |00004c40| 65 20 6e 65 74 69 6e 65 | 74 2f 69 6e 2e 68 2e 0d |e netine|t/in.h..| |00004c50| 20 2a 2f 0d 2f 2a 20 49 | 5f 53 59 53 5f 49 4e 0d | */./* I|_SYS_IN.| |00004c60| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, | |00004c70| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi| |00004c80| 63 61 74 65 73 20 74 6f | 20 74 68 65 20 43 20 70 |cates to| the C p| |00004c90| 72 6f 67 72 61 6d 20 74 | 68 61 74 20 69 74 20 73 |rogram t|hat it s| |00004ca0| 68 6f 75 6c 64 0d 20 2a | 09 69 6e 63 6c 75 64 65 |hould. *|.include| |00004cb0| 20 73 79 73 2f 69 6e 2e | 68 2e 0d 20 2a 2f 0d 23 | sys/in.|h.. */.#| |00004cc0| 64 65 66 69 6e 65 09 49 | 5f 4e 45 54 49 4e 45 54 |define.I|_NETINET| |00004cd0| 5f 49 4e 09 2f 2a 2a 2f | 0d 23 75 6e 64 65 66 09 |_IN./**/|.#undef.| |00004ce0| 49 5f 53 59 53 5f 49 4e | 09 09 09 2f 2a 2a 2f 0d |I_SYS_IN|.../**/.| |00004cf0| 0d 2f 2a 20 49 5f 50 57 | 44 0d 20 2a 09 54 68 69 |./* I_PW|D. *.Thi| |00004d00| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00004d10| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00004d20| 74 6f 20 74 68 65 20 43 | 20 70 72 6f 67 72 61 6d |to the C| program| |00004d30| 20 74 68 61 74 20 69 74 | 20 73 68 6f 75 6c 64 0d | that it| should.| |00004d40| 20 2a 09 69 6e 63 6c 75 | 64 65 20 70 77 64 2e 68 | *.inclu|de pwd.h| |00004d50| 2e 0d 20 2a 2f 0d 2f 2a | 20 50 57 51 55 4f 54 41 |.. */./*| PWQUOTA| |00004d60| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00004d70| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00004d80| 69 63 61 74 65 73 20 74 | 6f 20 74 68 65 20 43 20 |icates t|o the C | |00004d90| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 73 74 72 |program |that str| |00004da0| 75 63 74 20 70 61 73 73 | 77 64 0d 20 2a 09 63 6f |uct pass|wd. *.co| |00004db0| 6e 74 61 69 6e 73 20 70 | 77 5f 71 75 6f 74 61 2e |ntains p|w_quota.| |00004dc0| 0d 20 2a 2f 0d 2f 2a 20 | 50 57 41 47 45 0d 20 2a |. */./* |PWAGE. *| |00004dd0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if| |00004de0| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica| |00004df0| 74 65 73 20 74 6f 20 74 | 68 65 20 43 20 70 72 6f |tes to t|he C pro| |00004e00| 67 72 61 6d 20 74 68 61 | 74 20 73 74 72 75 63 74 |gram tha|t struct| |00004e10| 20 70 61 73 73 77 64 0d | 20 2a 09 63 6f 6e 74 61 | passwd.| *.conta| |00004e20| 69 6e 73 20 70 77 5f 61 | 67 65 2e 0d 20 2a 2f 0d |ins pw_a|ge.. */.| |00004e30| 2f 2a 20 50 57 43 48 41 | 4e 47 45 0d 20 2a 09 54 |/* PWCHA|NGE. *.T| |00004e40| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00004e50| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00004e60| 73 20 74 6f 20 74 68 65 | 20 43 20 70 72 6f 67 72 |s to the| C progr| |00004e70| 61 6d 20 74 68 61 74 20 | 73 74 72 75 63 74 20 70 |am that |struct p| |00004e80| 61 73 73 77 64 0d 20 2a | 09 63 6f 6e 74 61 69 6e |asswd. *|.contain| |00004e90| 73 20 70 77 5f 63 68 61 | 6e 67 65 2e 0d 20 2a 2f |s pw_cha|nge.. */| |00004ea0| 0d 2f 2a 20 50 57 43 4c | 41 53 53 0d 20 2a 09 54 |./* PWCL|ASS. *.T| |00004eb0| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00004ec0| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00004ed0| 73 20 74 6f 20 74 68 65 | 20 43 20 70 72 6f 67 72 |s to the| C progr| |00004ee0| 61 6d 20 74 68 61 74 20 | 73 74 72 75 63 74 20 70 |am that |struct p| |00004ef0| 61 73 73 77 64 0d 20 2a | 09 63 6f 6e 74 61 69 6e |asswd. *|.contain| |00004f00| 73 20 70 77 5f 63 6c 61 | 73 73 2e 0d 20 2a 2f 0d |s pw_cla|ss.. */.| |00004f10| 2f 2a 20 50 57 45 58 50 | 49 52 45 0d 20 2a 09 54 |/* PWEXP|IRE. *.T| |00004f20| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d| |00004f30| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate| |00004f40| 73 20 74 6f 20 74 68 65 | 20 43 20 70 72 6f 67 72 |s to the| C progr| |00004f50| 61 6d 20 74 68 61 74 20 | 73 74 72 75 63 74 20 70 |am that |struct p| |00004f60| 61 73 73 77 64 0d 20 2a | 09 63 6f 6e 74 61 69 6e |asswd. *|.contain| |00004f70| 73 20 70 77 5f 65 78 70 | 69 72 65 2e 0d 20 2a 2f |s pw_exp|ire.. */| |00004f80| 0d 2f 2a 20 50 57 43 4f | 4d 4d 45 4e 54 0d 20 2a |./* PWCO|MMENT. *| |00004f90| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if| |00004fa0| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica| |00004fb0| 74 65 73 20 74 6f 20 74 | 68 65 20 43 20 70 72 6f |tes to t|he C pro| |00004fc0| 67 72 61 6d 20 74 68 61 | 74 20 73 74 72 75 63 74 |gram tha|t struct| |00004fd0| 20 70 61 73 73 77 64 0d | 20 2a 09 63 6f 6e 74 61 | passwd.| *.conta| |00004fe0| 69 6e 73 20 70 77 5f 63 | 6f 6d 6d 65 6e 74 2e 0d |ins pw_c|omment..| |00004ff0| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 49 5f 50 57 44 | */.#und|ef.I_PWD| |00005000| 09 09 2f 2a 2a 2f 0d 23 | 75 6e 64 65 66 09 50 57 |../**/.#|undef.PW| |00005010| 51 55 4f 54 41 09 09 2f | 2a 2a 2f 0d 23 75 6e 64 |QUOTA../|**/.#und| |00005020| 65 66 09 50 57 41 47 45 | 09 09 2f 2a 2a 2f 0d 23 |ef.PWAGE|../**/.#| |00005030| 75 6e 64 65 66 09 50 57 | 43 48 41 4e 47 45 09 2f |undef.PW|CHANGE./| |00005040| 2a 2a 2f 0d 23 75 6e 64 | 65 66 09 50 57 43 4c 41 |**/.#und|ef.PWCLA| |00005050| 53 53 09 09 2f 2a 2a 2f | 0d 23 75 6e 64 65 66 09 |SS../**/|.#undef.| |00005060| 50 57 45 58 50 49 52 45 | 09 2f 2a 2a 2f 0d 23 75 |PWEXPIRE|./**/.#u| |00005070| 6e 64 65 66 09 50 57 43 | 4f 4d 4d 45 4e 54 09 2f |ndef.PWC|OMMENT./| |00005080| 2a 2a 2f 0d 0d 2f 2a 20 | 49 5f 53 59 53 5f 46 49 |**/../* |I_SYS_FI| |00005090| 4c 45 0d 20 2a 09 54 68 | 69 73 20 6d 61 6e 69 66 |LE. *.Th|is manif| |000050a0| 65 73 74 20 63 6f 6e 73 | 74 61 6e 74 20 74 65 6c |est cons|tant tel| |000050b0| 6c 73 20 74 68 65 20 43 | 20 70 72 6f 67 72 61 6d |ls the C| program| |000050c0| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 3c 73 79 73 | to incl|ude <sys| |000050d0| 2f 66 69 6c 65 2e 68 3e | 2e 0d 20 2a 2f 0d 23 64 |/file.h>|.. */.#d| |000050e0| 65 66 69 6e 65 09 49 5f | 53 59 53 5f 46 49 4c 45 |efine.I_|SYS_FILE| |000050f0| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 49 5f 53 59 53 49 |./**/../|* I_SYSI| |00005100| 4f 43 54 4c 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |OCTL. *.|This sym| |00005110| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |00005120| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00005130| 73 79 73 2f 69 6f 63 74 | 6c 2e 68 20 65 78 69 73 |sys/ioct|l.h exis| |00005140| 74 73 20 61 6e 64 20 73 | 68 6f 75 6c 64 0d 20 2a |ts and s|hould. *| |00005150| 09 62 65 20 69 6e 63 6c | 75 64 65 64 2e 0d 20 2a |.be incl|uded.. *| |00005160| 2f 0d 23 64 65 66 69 6e | 65 09 49 5f 53 59 53 49 |/.#defin|e.I_SYSI| |00005170| 4f 43 54 4c 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 49 |OCTL../*|*/../* I| |00005180| 5f 54 49 4d 45 0d 20 2a | 09 54 68 69 73 20 73 79 |_TIME. *|.This sy| |00005190| 6d 62 6f 6c 20 69 73 20 | 64 65 66 69 6e 65 64 20 |mbol is |defined | |000051a0| 69 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |if the p|rogram s| |000051b0| 68 6f 75 6c 64 20 69 6e | 63 6c 75 64 65 20 3c 74 |hould in|clude <t| |000051c0| 69 6d 65 2e 68 3e 2e 0d | 20 2a 2f 0d 2f 2a 20 49 |ime.h>..| */./* I| |000051d0| 5f 53 59 53 5f 54 49 4d | 45 0d 20 2a 09 54 68 69 |_SYS_TIM|E. *.Thi| |000051e0| 73 20 73 79 6d 62 6f 6c | 20 69 73 20 64 65 66 69 |s symbol| is defi| |000051f0| 6e 65 64 20 69 66 20 74 | 68 65 20 70 72 6f 67 72 |ned if t|he progr| |00005200| 61 6d 20 73 68 6f 75 6c | 64 20 69 6e 63 6c 75 64 |am shoul|d includ| |00005210| 65 20 3c 73 79 73 2f 74 | 69 6d 65 2e 68 3e 2e 0d |e <sys/t|ime.h>..| |00005220| 20 2a 2f 0d 2f 2a 20 53 | 59 53 54 49 4d 45 4b 45 | */./* S|YSTIMEKE| |00005230| 52 4e 45 4c 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |RNEL. *.|This sym| |00005240| 62 6f 6c 20 69 73 20 64 | 65 66 69 6e 65 64 20 69 |bol is d|efined i| |00005250| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 73 68 |f the pr|ogram sh| |00005260| 6f 75 6c 64 20 69 6e 63 | 6c 75 64 65 20 3c 73 79 |ould inc|lude <sy| |00005270| 73 2f 74 69 6d 65 2e 68 | 3e 0d 20 2a 09 77 69 74 |s/time.h|>. *.wit| |00005280| 68 20 4b 45 52 4e 45 4c | 20 64 65 66 69 6e 65 64 |h KERNEL| defined| |00005290| 2e 0d 20 2a 2f 0d 2f 2a | 20 49 5f 53 59 53 5f 53 |.. */./*| I_SYS_S| |000052a0| 45 4c 45 43 54 0d 20 2a | 09 54 68 69 73 20 73 79 |ELECT. *|.This sy| |000052b0| 6d 62 6f 6c 20 69 73 20 | 64 65 66 69 6e 65 64 20 |mbol is |defined | |000052c0| 69 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |if the p|rogram s| |000052d0| 68 6f 75 6c 64 20 69 6e | 63 6c 75 64 65 20 3c 73 |hould in|clude <s| |000052e0| 79 73 2f 73 65 6c 65 63 | 74 2e 68 3e 2e 0d 20 2a |ys/selec|t.h>.. *| |000052f0| 2f 0d 23 64 65 66 69 6e | 65 09 49 5f 54 49 4d 45 |/.#defin|e.I_TIME| |00005300| 09 20 09 2f 2a 2a 2f 0d | 23 64 65 66 69 6e 65 09 |. ./**/.|#define.| |00005310| 49 5f 53 59 53 5f 54 49 | 4d 45 20 09 2f 2a 2a 2f |I_SYS_TI|ME ./**/| |00005320| 0d 23 75 6e 64 65 66 09 | 53 59 53 54 49 4d 45 4b |.#undef.|SYSTIMEK| |00005330| 45 52 4e 45 4c 20 09 2f | 2a 2a 2f 0d 23 75 6e 64 |ERNEL ./|**/.#und| |00005340| 65 66 09 49 5f 53 59 53 | 5f 53 45 4c 45 43 54 20 |ef.I_SYS|_SELECT | |00005350| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 49 5f 55 54 49 4d |./**/../|* I_UTIM| |00005360| 45 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |E. *.Thi|s symbol| |00005370| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in| |00005380| 64 69 63 61 74 65 73 20 | 74 6f 20 74 68 65 20 43 |dicates |to the C| |00005390| 20 70 72 6f 67 72 61 6d | 20 74 68 61 74 20 69 74 | program| that it| |000053a0| 20 73 68 6f 75 6c 64 0d | 20 2a 09 69 6e 63 6c 75 | should.| *.inclu| |000053b0| 64 65 20 75 74 69 6d 65 | 2e 68 2e 0d 20 2a 2f 0d |de utime|.h.. */.| |000053c0| 23 75 6e 64 65 66 09 49 | 5f 55 54 49 4d 45 09 09 |#undef.I|_UTIME..| |000053d0| 2f 2a 2a 2f 0d 0d 2f 2a | 20 49 5f 56 41 52 41 52 |/**/../*| I_VARAR| |000053e0| 47 53 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |GS. *.Th|is symbo| |000053f0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i| |00005400| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the | |00005410| 43 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 69 |C progra|m that i| |00005420| 74 20 73 68 6f 75 6c 64 | 0d 20 2a 09 69 6e 63 6c |t should|. *.incl| |00005430| 75 64 65 20 76 61 72 61 | 72 67 73 2e 68 2e 0d 20 |ude vara|rgs.h.. | |00005440| 2a 2f 0d 23 75 6e 64 65 | 66 09 49 5f 56 41 52 41 |*/.#unde|f.I_VARA| |00005450| 52 47 53 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 49 5f |RGS../**|/../* I_| |00005460| 56 46 4f 52 4b 0d 20 2a | 09 54 68 69 73 20 73 79 |VFORK. *|.This sy| |00005470| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined| |00005480| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 6f 20 74 |, indica|tes to t| |00005490| 68 65 20 43 20 70 72 6f | 67 72 61 6d 20 74 68 61 |he C pro|gram tha| |000054a0| 74 20 69 74 20 73 68 6f | 75 6c 64 0d 20 2a 09 69 |t it sho|uld. *.i| |000054b0| 6e 63 6c 75 64 65 20 76 | 66 6f 72 6b 2e 68 2e 0d |nclude v|fork.h..| |000054c0| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 49 5f 56 46 4f | */.#und|ef.I_VFO| |000054d0| 52 4b 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 49 4e 54 |RK../**/|../* INT| |000054e0| 53 49 5a 45 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |SIZE. *.|This sym| |000054f0| 62 6f 6c 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |bol cont|ains the| |00005500| 20 73 69 7a 65 20 6f 66 | 20 61 6e 20 69 6e 74 2c | size of| an int,| |00005510| 20 73 6f 20 74 68 61 74 | 20 74 68 65 20 43 20 70 | so that| the C p| |00005520| 72 65 70 72 6f 63 65 73 | 73 6f 72 0d 20 2a 09 63 |reproces|sor. *.c| |00005530| 61 6e 20 6d 61 6b 65 20 | 64 65 63 69 73 69 6f 6e |an make |decision| |00005540| 73 20 62 61 73 65 64 20 | 6f 6e 20 69 74 2e 0d 20 |s based |on it.. | |00005550| 2a 2f 0d 23 64 65 66 69 | 6e 65 20 49 4e 54 53 49 |*/.#defi|ne INTSI| |00005560| 5a 45 20 34 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 49 |ZE 4../*|*/../* I| |00005570| 5f 44 49 52 45 4e 54 0d | 20 2a 09 54 68 69 73 20 |_DIRENT.| *.This | |00005580| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin| |00005590| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th| |000055a0| 61 74 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 73 |at the p|rogram s| |000055b0| 68 6f 75 6c 64 20 75 73 | 65 20 74 68 65 0d 20 2a |hould us|e the. *| |000055c0| 09 50 31 30 30 33 2d 73 | 74 79 6c 65 20 64 69 72 |.P1003-s|tyle dir| |000055d0| 65 63 74 6f 72 79 20 72 | 6f 75 74 69 6e 65 73 2c |ectory r|outines,| |000055e0| 20 61 6e 64 20 69 6e 63 | 6c 75 64 65 20 3c 64 69 | and inc|lude <di| |000055f0| 72 65 6e 74 2e 68 3e 2e | 0d 20 2a 2f 0d 2f 2a 20 |rent.h>.|. */./* | |00005600| 49 5f 53 59 53 5f 44 49 | 52 0d 20 2a 09 54 68 69 |I_SYS_DI|R. *.Thi| |00005610| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00005620| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00005630| 74 68 61 74 20 74 68 65 | 20 70 72 6f 67 72 61 6d |that the| program| |00005640| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 74 68 65 0d | should |use the.| |00005650| 20 2a 09 64 69 72 65 63 | 74 6f 72 79 20 66 75 6e | *.direc|tory fun| |00005660| 63 74 69 6f 6e 73 20 62 | 79 20 69 6e 63 6c 75 64 |ctions b|y includ| |00005670| 69 6e 67 20 3c 73 79 73 | 2f 64 69 72 2e 68 3e 2e |ing <sys|/dir.h>.| |00005680| 0d 20 2a 2f 0d 2f 2a 20 | 49 5f 4e 44 49 52 0d 20 |. */./* |I_NDIR. | |00005690| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i| |000056a0| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic| |000056b0| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 70 72 |ates tha|t the pr| |000056c0| 6f 67 72 61 6d 20 73 68 | 6f 75 6c 64 20 69 6e 63 |ogram sh|ould inc| |000056d0| 6c 75 64 65 20 74 68 65 | 0d 20 2a 09 73 79 73 74 |lude the|. *.syst| |000056e0| 65 6d 27 73 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |em's ver|sion of | |000056f0| 6e 64 69 72 2e 68 2c 20 | 72 61 74 68 65 72 20 74 |ndir.h, |rather t| |00005700| 68 61 6e 20 74 68 65 20 | 6f 6e 65 20 77 69 74 68 |han the |one with| |00005710| 20 74 68 69 73 20 70 61 | 63 6b 61 67 65 2e 0d 20 | this pa|ckage.. | |00005720| 2a 2f 0d 2f 2a 20 49 5f | 53 59 53 5f 4e 44 49 52 |*/./* I_|SYS_NDIR| |00005730| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,| |00005740| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind| |00005750| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the | |00005760| 70 72 6f 67 72 61 6d 20 | 73 68 6f 75 6c 64 20 69 |program |should i| |00005770| 6e 63 6c 75 64 65 20 74 | 68 65 0d 20 2a 09 73 79 |nclude t|he. *.sy| |00005780| 73 74 65 6d 27 73 20 76 | 65 72 73 69 6f 6e 20 6f |stem's v|ersion o| |00005790| 66 20 73 79 73 2f 6e 64 | 69 72 2e 68 2c 20 72 61 |f sys/nd|ir.h, ra| |000057a0| 74 68 65 72 20 74 68 61 | 6e 20 74 68 65 20 6f 6e |ther tha|n the on| |000057b0| 65 20 77 69 74 68 20 74 | 68 69 73 20 70 61 63 6b |e with t|his pack| |000057c0| 61 67 65 2e 0d 20 2a 2f | 0d 2f 2a 20 49 5f 4d 59 |age.. */|./* I_MY| |000057d0| 5f 44 49 52 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |_DIR. *.|This sym| |000057e0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,| |000057f0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that | |00005800| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 73 68 6f 75 |the prog|ram shou| |00005810| 6c 64 20 63 6f 6d 70 69 | 6c 65 0d 20 2a 09 74 68 |ld compi|le. *.th| |00005820| 65 20 6e 64 69 72 2e 63 | 20 63 6f 64 65 20 70 72 |e ndir.c| code pr| |00005830| 6f 76 69 64 65 64 20 77 | 69 74 68 20 74 68 65 20 |ovided w|ith the | |00005840| 70 61 63 6b 61 67 65 2e | 0d 20 2a 2f 0d 2f 2a 20 |package.|. */./* | |00005850| 44 49 52 4e 41 4d 4c 45 | 4e 0d 20 2a 09 54 68 69 |DIRNAMLE|N. *.Thi| |00005860| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def| |00005870| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates | |00005880| 74 6f 20 74 68 65 20 43 | 20 70 72 6f 67 72 61 6d |to the C| program| |00005890| 20 74 68 61 74 20 74 68 | 65 20 6c 65 6e 67 74 68 | that th|e length| |000058a0| 0d 20 2a 09 6f 66 20 64 | 69 72 65 63 74 6f 72 79 |. *.of d|irectory| |000058b0| 20 65 6e 74 72 79 20 6e | 61 6d 65 73 20 69 73 20 | entry n|ames is | |000058c0| 70 72 6f 76 69 64 65 64 | 20 62 79 20 61 20 64 5f |provided| by a d_| |000058d0| 6e 61 6d 6c 65 6e 20 66 | 69 65 6c 64 2e 20 20 4f |namlen f|ield. O| |000058e0| 74 68 65 72 77 69 73 65 | 0d 20 2a 09 79 6f 75 20 |therwise|. *.you | |000058f0| 6e 65 65 64 20 74 6f 20 | 64 6f 20 73 74 72 6c 65 |need to |do strle| |00005900| 6e 28 29 20 6f 6e 20 74 | 68 65 20 64 5f 6e 61 6d |n() on t|he d_nam| |00005910| 65 20 66 69 65 6c 64 2e | 0d 20 2a 2f 0d 23 64 65 |e field.|. */.#de| |00005920| 66 69 6e 65 09 49 5f 44 | 49 52 45 4e 54 09 2f 2a |fine.I_D|IRENT./*| |00005930| 2a 2f 0d 23 75 6e 64 65 | 66 09 49 5f 53 59 53 5f |*/.#unde|f.I_SYS_| |00005940| 44 49 52 09 2f 2a 2a 2f | 0d 23 75 6e 64 65 66 09 |DIR./**/|.#undef.| |00005950| 49 5f 4e 44 49 52 09 09 | 2f 2a 2a 2f 0d 23 75 6e |I_NDIR..|/**/.#un| |00005960| 64 65 66 09 49 5f 53 59 | 53 5f 4e 44 49 52 09 2f |def.I_SY|S_NDIR./| |00005970| 2a 2a 2f 0d 23 75 6e 64 | 65 66 09 49 5f 4d 59 5f |**/.#und|ef.I_MY_| |00005980| 44 49 52 09 2f 2a 2a 2f | 0d 23 64 65 66 69 6e 65 |DIR./**/|.#define| |00005990| 09 44 49 52 4e 41 4d 4c | 45 4e 09 2f 2a 2a 2f 0d |.DIRNAML|EN./**/.| |000059a0| 0d 2f 2a 20 4d 59 4d 41 | 4c 4c 4f 43 0d 20 2a 09 |./* MYMA|LLOC. *.| |000059b0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if | |000059c0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat| |000059d0| 65 73 20 74 68 61 74 20 | 77 65 27 72 65 20 75 73 |es that |we're us| |000059e0| 69 6e 67 20 6f 75 72 20 | 6f 77 6e 20 6d 61 6c 6c |ing our |own mall| |000059f0| 6f 63 2e 0d 20 2a 2f 0d | 2f 2a 20 4d 41 4c 4c 4f |oc.. */.|/* MALLO| |00005a00| 43 50 54 52 54 59 50 45 | 0d 20 2a 09 54 68 69 73 |CPTRTYPE|. *.This| |00005a10| 20 73 79 6d 62 6f 6c 20 | 64 65 66 69 6e 65 73 20 | symbol |defines | |00005a20| 74 68 65 20 6b 69 6e 64 | 20 6f 66 20 70 74 72 20 |the kind| of ptr | |00005a30| 72 65 74 75 72 6e 65 64 | 20 62 79 20 6d 61 6c 6c |returned| by mall| |00005a40| 6f 63 20 61 6e 64 20 72 | 65 61 6c 6c 6f 63 2e 0d |oc and r|ealloc..| |00005a50| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 4d 59 4d 41 | */.#def|ine MYMA| |00005a60| 4c 4c 4f 43 09 09 09 2f | 2a 2a 2f 0d 0d 23 64 65 |LLOC.../|**/..#de| |00005a70| 66 69 6e 65 20 4d 41 4c | 4c 4f 43 50 54 52 54 59 |fine MAL|LOCPTRTY| |00005a80| 50 45 20 76 6f 69 64 20 | 20 20 20 20 20 20 20 20 |PE void | | |00005a90| 2f 2a 2a 2f 0d 0d 2f 2a | 20 52 41 4e 44 42 49 54 |/**/../*| RANDBIT| |00005aa0| 53 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |S. *.Thi|s symbol| |00005ab0| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 6e 75 | contain|s the nu| |00005ac0| 6d 62 65 72 20 6f 66 20 | 62 69 74 73 20 6f 66 20 |mber of |bits of | |00005ad0| 72 61 6e 64 6f 6d 20 6e | 75 6d 62 65 72 20 74 68 |random n|umber th| |00005ae0| 65 20 72 61 6e 64 28 29 | 0d 20 2a 09 66 75 6e 63 |e rand()|. *.func| |00005af0| 74 69 6f 6e 20 70 72 6f | 64 75 63 65 73 2e 20 20 |tion pro|duces. | |00005b00| 55 73 75 61 6c 20 76 61 | 6c 75 65 73 20 61 72 65 |Usual va|lues are| |00005b10| 20 31 35 2c 20 31 36 2c | 20 61 6e 64 20 33 31 2e | 15, 16,| and 31.| |00005b20| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 52 41 4e |. */.#de|fine RAN| |00005b30| 44 42 49 54 53 20 31 35 | 09 09 2f 2a 2a 2f 0d 0d |DBITS 15|../**/..| |00005b40| 2f 2a 20 53 43 52 49 50 | 54 44 49 52 0d 20 2a 09 |/* SCRIP|TDIR. *.| |00005b50| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 68 6f 6c 64 |This sym|bol hold| |00005b60| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th| |00005b70| 65 20 64 69 72 65 63 74 | 6f 72 79 20 69 6e 20 77 |e direct|ory in w| |00005b80| 68 69 63 68 20 74 68 65 | 20 75 73 65 72 20 77 61 |hich the| user wa| |00005b90| 6e 74 73 0d 20 2a 09 74 | 6f 20 70 75 74 20 70 75 |nts. *.t|o put pu| |00005ba0| 62 6c 69 63 6c 79 20 65 | 78 65 63 75 74 61 62 6c |blicly e|xecutabl| |00005bb0| 65 20 73 63 72 69 70 74 | 73 20 66 6f 72 20 74 68 |e script|s for th| |00005bc0| 65 20 70 61 63 6b 61 67 | 65 20 69 6e 20 71 75 65 |e packag|e in que| |00005bd0| 73 74 69 6f 6e 2e 20 20 | 49 74 0d 20 2a 09 69 73 |stion. |It. *.is| |00005be0| 20 6f 66 74 65 6e 20 61 | 20 64 69 72 65 63 74 6f | often a| directo| |00005bf0| 72 79 20 74 68 61 74 20 | 69 73 20 6d 6f 75 6e 74 |ry that |is mount| |00005c00| 65 64 20 61 63 72 6f 73 | 73 20 64 69 76 65 72 73 |ed acros|s divers| |00005c10| 65 20 61 72 63 68 69 74 | 65 63 74 75 72 65 73 2e |e archit|ectures.| |00005c20| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 53 43 52 |. */.#de|fine SCR| |00005c30| 49 50 54 44 49 52 20 22 | 22 20 20 20 20 20 20 20 |IPTDIR "|" | |00005c40| 20 20 20 20 20 20 2f 2a | 2a 2f 0d 0d 2f 2a 20 53 | /*|*/../* S| |00005c50| 49 47 5f 4e 41 4d 45 0d | 20 2a 09 54 68 69 73 20 |IG_NAME.| *.This | |00005c60| 73 79 6d 62 6f 6c 20 63 | 6f 6e 74 61 69 6e 73 20 |symbol c|ontains | |00005c70| 61 6e 20 6c 69 73 74 20 | 6f 66 20 73 69 67 6e 61 |an list |of signa| |00005c80| 6c 20 6e 61 6d 65 73 20 | 69 6e 20 6f 72 64 65 72 |l names |in order| |00005c90| 2e 0d 20 2a 2f 0d 23 64 | 65 66 69 6e 65 20 53 49 |.. */.#d|efine SI| |00005ca0| 47 5f 4e 41 4d 45 20 22 | 5a 45 52 4f 22 2c 22 41 |G_NAME "|ZERO","A| |00005cb0| 42 52 54 22 2c 22 49 4e | 54 22 2c 22 46 50 45 22 |BRT","IN|T","FPE"| |00005cc0| 2c 22 49 4c 4c 22 2c 22 | 53 45 47 56 22 2c 22 54 |,"ILL","|SEGV","T| |00005cd0| 45 52 4d 22 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 53 |ERM"../*|*/../* S| |00005ce0| 54 44 43 48 41 52 0d 20 | 2a 09 54 68 69 73 20 73 |TDCHAR. |*.This s| |00005cf0| 79 6d 62 6f 6c 20 69 73 | 20 64 65 66 69 6e 65 64 |ymbol is| defined| |00005d00| 20 74 6f 20 62 65 20 74 | 68 65 20 74 79 70 65 20 | to be t|he type | |00005d10| 6f 66 20 63 68 61 72 20 | 75 73 65 64 20 69 6e 20 |of char |used in | |00005d20| 73 74 64 69 6f 2e 68 2e | 0d 20 2a 09 49 74 20 68 |stdio.h.|. *.It h| |00005d30| 61 73 20 74 68 65 20 76 | 61 6c 75 65 73 20 22 75 |as the v|alues "u| |00005d40| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 22 20 6f 72 |nsigned |char" or| |00005d50| 20 22 63 68 61 72 22 2e | 0d 20 2a 2f 0d 23 64 65 | "char".|. */.#de| |00005d60| 66 69 6e 65 20 53 54 44 | 43 48 41 52 20 63 68 61 |fine STD|CHAR cha| |00005d70| 72 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 55 49 44 54 59 |r./**/..|/* UIDTY| |00005d80| 50 45 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |PE. *.Th|is symbo| |00005d90| 6c 20 68 61 73 20 61 20 | 76 61 6c 75 65 20 6c 69 |l has a |value li| |00005da0| 6b 65 20 75 69 64 5f 74 | 2c 20 69 6e 74 2c 20 75 |ke uid_t|, int, u| |00005db0| 73 68 6f 72 74 2c 20 6f | 72 20 77 68 61 74 65 76 |short, o|r whatev| |00005dc0| 65 72 20 74 79 70 65 20 | 69 73 0d 20 2a 09 75 73 |er type |is. *.us| |00005dd0| 65 64 20 74 6f 20 64 65 | 63 6c 61 72 65 20 75 73 |ed to de|clare us| |00005de0| 65 72 20 69 64 73 20 69 | 6e 20 74 68 65 20 6b 65 |er ids i|n the ke| |00005df0| 72 6e 65 6c 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |rnel.. *|/.#defin| |00005e00| 65 20 55 49 44 54 59 50 | 45 20 69 6e 74 09 09 2f |e UIDTYP|E int../| |00005e10| 2a 2a 2f 0d 0d 2f 2a 20 | 56 4f 49 44 48 41 56 45 |**/../* |VOIDHAVE| |00005e20| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 20 |. *.This| symbol | |00005e30| 69 6e 64 69 63 61 74 65 | 73 20 68 6f 77 20 6d 75 |indicate|s how mu| |00005e40| 63 68 20 73 75 70 70 6f | 72 74 20 6f 66 20 74 68 |ch suppo|rt of th| |00005e50| 65 20 76 6f 69 64 20 74 | 79 70 65 20 69 73 20 67 |e void t|ype is g| |00005e60| 69 76 65 6e 20 62 79 20 | 74 68 69 73 0d 20 2a 09 |iven by |this. *.| |00005e70| 63 6f 6d 70 69 6c 65 72 | 2e 20 20 57 68 61 74 20 |compiler|. What | |00005e80| 76 61 72 69 6f 75 73 20 | 62 69 74 73 20 6d 65 61 |various |bits mea| |00005e90| 6e 3a 0d 20 2a 0d 20 2a | 09 20 20 20 20 31 20 3d |n:. *. *|. 1 =| |00005ea0| 20 73 75 70 70 6f 72 74 | 73 20 64 65 63 6c 61 72 | support|s declar| |00005eb0| 61 74 69 6f 6e 20 6f 66 | 20 76 6f 69 64 0d 20 2a |ation of| void. *| |00005ec0| 09 20 20 20 20 32 20 3d | 20 73 75 70 70 6f 72 74 |. 2 =| support| |00005ed0| 73 20 61 72 72 61 79 73 | 20 6f 66 20 70 6f 69 6e |s arrays| of poin| |00005ee0| 74 65 72 73 20 74 6f 20 | 66 75 6e 63 74 69 6f 6e |ters to |function| |00005ef0| 73 20 72 65 74 75 72 6e | 69 6e 67 20 76 6f 69 64 |s return|ing void| |00005f00| 0d 20 2a 09 20 20 20 20 | 34 20 3d 20 73 75 70 70 |. *. |4 = supp| |00005f10| 6f 72 74 73 20 63 6f 6d | 70 61 72 69 73 6f 6e 73 |orts com|parisons| |00005f20| 20 62 65 74 77 65 65 6e | 20 70 6f 69 6e 74 65 72 | between| pointer| |00005f30| 73 20 74 6f 20 76 6f 69 | 64 20 66 75 6e 63 74 69 |s to voi|d functi| |00005f40| 6f 6e 73 20 61 6e 64 0d | 20 2a 09 09 20 20 20 20 |ons and.| *.. | |00005f50| 61 64 64 72 65 73 73 65 | 73 20 6f 66 20 76 6f 69 |addresse|s of voi| |00005f60| 64 20 66 75 6e 63 74 69 | 6f 6e 73 0d 20 2a 0d 20 |d functi|ons. *. | |00005f70| 2a 09 54 68 65 20 70 61 | 63 6b 61 67 65 20 64 65 |*.The pa|ckage de| |00005f80| 73 69 67 6e 65 72 20 73 | 68 6f 75 6c 64 20 64 65 |signer s|hould de| |00005f90| 66 69 6e 65 20 56 4f 49 | 44 57 41 4e 54 20 74 6f |fine VOI|DWANT to| |00005fa0| 20 69 6e 64 69 63 61 74 | 65 20 74 68 65 20 72 65 | indicat|e the re| |00005fb0| 71 75 69 72 65 6d 65 6e | 74 73 0d 20 2a 09 6f 66 |quiremen|ts. *.of| |00005fc0| 20 74 68 65 20 70 61 63 | 6b 61 67 65 2e 20 20 54 | the pac|kage. T| |00005fd0| 68 69 73 20 63 61 6e 20 | 62 65 20 64 6f 6e 65 20 |his can |be done | |00005fe0| 65 69 74 68 65 72 20 62 | 79 20 23 64 65 66 69 6e |either b|y #defin| |00005ff0| 69 6e 67 20 56 4f 49 44 | 57 41 4e 54 20 62 65 66 |ing VOID|WANT bef| |00006000| 6f 72 65 0d 20 2a 09 69 | 6e 63 6c 75 64 69 6e 67 |ore. *.i|ncluding| |00006010| 20 63 6f 6e 66 69 67 2e | 68 2c 20 6f 72 20 62 79 | config.|h, or by| |00006020| 20 64 65 66 69 6e 69 6e | 67 20 76 6f 69 64 77 61 | definin|g voidwa| |00006030| 6e 74 20 69 6e 20 4d 79 | 69 6e 69 74 2e 55 2e 20 |nt in My|init.U. | |00006040| 20 49 66 20 74 68 65 20 | 6c 65 76 65 6c 0d 20 2a | If the |level. *| |00006050| 09 6f 66 20 76 6f 69 64 | 20 73 75 70 70 6f 72 74 |.of void| support| |00006060| 20 6e 65 63 65 73 73 61 | 72 79 20 69 73 20 6e 6f | necessa|ry is no| |00006070| 74 20 70 72 65 73 65 6e | 74 2c 20 63 6f 6e 66 69 |t presen|t, confi| |00006080| 67 2e 68 20 64 65 66 69 | 6e 65 73 20 76 6f 69 64 |g.h defi|nes void| |00006090| 20 74 6f 20 22 69 6e 74 | 22 2c 0d 20 2a 09 56 4f | to "int|",. *.VO| |000060a0| 49 44 20 74 6f 20 74 68 | 65 20 65 6d 70 74 79 20 |ID to th|e empty | |000060b0| 73 74 72 69 6e 67 2c 20 | 61 6e 64 20 56 4f 49 44 |string, |and VOID| |000060c0| 50 20 74 6f 20 22 63 68 | 61 72 20 2a 22 2e 0d 20 |P to "ch|ar *".. | |000060d0| 2a 2f 0d 2f 2a 20 76 6f | 69 64 0d 20 2a 09 54 68 |*/./* vo|id. *.Th| |000060e0| 69 73 20 73 79 6d 62 6f | 6c 20 69 73 20 75 73 65 |is symbo|l is use| |000060f0| 64 20 66 6f 72 20 76 6f | 69 64 20 63 61 73 74 73 |d for vo|id casts| |00006100| 2e 20 20 4f 6e 20 69 6d | 70 6c 65 6d 65 6e 74 61 |. On im|plementa| |00006110| 74 69 6f 6e 73 20 77 68 | 69 63 68 20 73 75 70 70 |tions wh|ich supp| |00006120| 6f 72 74 0d 20 2a 09 76 | 6f 69 64 20 61 70 70 72 |ort. *.v|oid appr| |00006130| 6f 70 72 69 61 74 65 6c | 79 2c 20 69 74 73 20 76 |opriatel|y, its v| |00006140| 61 6c 75 65 20 69 73 20 | 22 76 6f 69 64 22 2e 20 |alue is |"void". | |00006150| 20 4f 74 68 65 72 77 69 | 73 65 2c 20 69 74 73 20 | Otherwi|se, its | |00006160| 76 61 6c 75 65 20 6d 61 | 70 73 0d 20 2a 09 74 6f |value ma|ps. *.to| |00006170| 20 22 69 6e 74 22 2e 0d | 20 2a 2f 0d 2f 2a 20 56 | "int"..| */./* V| |00006180| 4f 49 44 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |OID. *.T|his symb| |00006190| 6f 6c 27 73 20 76 61 6c | 75 65 20 69 73 20 22 76 |ol's val|ue is "v| |000061a0| 6f 69 64 22 20 69 66 20 | 74 68 65 20 69 6d 70 6c |oid" if |the impl| |000061b0| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 73 75 70 70 6f |ementati|on suppo| |000061c0| 72 74 73 20 76 6f 69 64 | 0d 20 2a 09 61 70 70 72 |rts void|. *.appr| |000061d0| 6f 70 72 69 61 74 65 6c | 79 2e 20 20 4f 74 68 65 |opriatel|y. Othe| |000061e0| 72 77 69 73 65 2c 20 69 | 74 73 20 76 61 6c 75 65 |rwise, i|ts value| |000061f0| 20 69 73 20 74 68 65 20 | 65 6d 70 74 79 20 73 74 | is the |empty st| |00006200| 72 69 6e 67 2e 20 20 54 | 68 65 20 70 72 69 6d 61 |ring. T|he prima| |00006210| 72 79 0d 20 2a 09 75 73 | 65 20 6f 66 20 74 68 69 |ry. *.us|e of thi| |00006220| 73 20 73 79 6d 62 6f 6c | 20 69 73 20 69 6e 20 73 |s symbol| is in s| |00006230| 70 65 63 69 66 79 69 6e | 67 20 76 6f 69 64 20 70 |pecifyin|g void p| |00006240| 61 72 61 6d 65 74 65 72 | 20 6c 69 73 74 73 20 66 |arameter| lists f| |00006250| 6f 72 20 66 75 6e 63 74 | 69 6f 6e 0d 20 2a 09 70 |or funct|ion. *.p| |00006260| 72 6f 74 6f 74 79 70 65 | 73 2e 0d 20 2a 2f 0d 2f |rototype|s.. */./| |00006270| 2a 20 56 4f 49 44 50 0d | 20 2a 09 54 68 69 73 20 |* VOIDP.| *.This | |00006280| 73 79 6d 62 6f 6c 20 69 | 73 20 75 73 65 64 20 66 |symbol i|s used f| |00006290| 6f 72 20 63 61 73 74 69 | 6e 67 20 67 65 6e 65 72 |or casti|ng gener| |000062a0| 69 63 20 70 6f 69 6e 74 | 65 72 73 2e 20 20 4f 6e |ic point|ers. On| |000062b0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 73 | impleme|ntations| |000062c0| 0d 20 2a 09 77 68 69 63 | 68 20 73 75 70 70 6f 72 |. *.whic|h suppor| |000062d0| 74 20 76 6f 69 64 20 61 | 70 70 72 6f 70 72 69 61 |t void a|ppropria| |000062e0| 74 65 6c 79 2c 20 69 74 | 73 20 76 61 6c 75 65 20 |tely, it|s value | |000062f0| 69 73 20 22 76 6f 69 64 | 20 2a 22 2e 20 20 4f 74 |is "void| *". Ot| |00006300| 68 65 72 77 69 73 65 2c | 0d 20 2a 09 69 74 73 20 |herwise,|. *.its | |00006310| 76 61 6c 75 65 20 69 73 | 20 22 63 68 61 72 20 2a |value is| "char *| |00006320| 22 2e 0d 20 2a 2f 0d 23 | 69 66 6e 64 65 66 20 56 |".. */.#|ifndef V| |00006330| 4f 49 44 57 41 4e 54 0d | 23 64 65 66 69 6e 65 20 |OIDWANT.|#define | |00006340| 56 4f 49 44 57 41 4e 54 | 20 31 0d 23 65 6e 64 69 |VOIDWANT| 1.#endi| |00006350| 66 0d 23 64 65 66 69 6e | 65 20 56 4f 49 44 48 41 |f.#defin|e VOIDHA| |00006360| 56 45 20 37 0d 23 69 66 | 20 28 56 4f 49 44 48 41 |VE 7.#if| (VOIDHA| |00006370| 56 45 20 26 20 56 4f 49 | 44 57 41 4e 54 29 20 21 |VE & VOI|DWANT) !| |00006380| 3d 20 56 4f 49 44 57 41 | 4e 54 0d 23 64 65 66 69 |= VOIDWA|NT.#defi| |00006390| 6e 65 20 76 6f 69 64 20 | 69 6e 74 09 09 2f 2a 20 |ne void |int../* | |000063a0| 69 73 20 76 6f 69 64 20 | 74 6f 20 62 65 20 61 76 |is void |to be av| |000063b0| 6f 69 64 65 64 3f 20 2a | 2f 0d 23 64 65 66 69 6e |oided? *|/.#defin| |000063c0| 65 20 56 4f 49 44 0d 23 | 64 65 66 69 6e 65 20 56 |e VOID.#|define V| |000063d0| 4f 49 44 50 20 28 63 68 | 61 72 20 2a 29 0d 23 64 |OIDP (ch|ar *).#d| |000063e0| 65 66 69 6e 65 20 4d 5f | 56 4f 49 44 09 09 2f 2a |efine M_|VOID../*| |000063f0| 20 58 65 6e 69 78 20 73 | 74 72 69 6b 65 73 20 61 | Xenix s|trikes a| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.